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().