SyTen

◆ dist() [2/3]

SRDef syten::dist ( Rep const &  r1,
Rep const &  r2 
)

Returns the distance between two representations, i.e. the absolute value of the sum of the differences in labels.

References abs(), syten::Rep::degree(), syten::Rep::label, and SYTEN_ASSERT_DEBUG.

Referenced by addLog(), dist(), min_dist(), syten::MPS::SwappableTEBD::multiply_factors(), and syten::IPEPSv2::simple_update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: