void syten::MPS::TDVP::Worker::sync | ( | Tensor< 2 > & | connector, |
Tensor< 3 > & | rPsi, | ||
std::vector< Tensor< 3 > > const & | rContr, | ||
std::vector< Tensor< 3 > > & | lContr, | ||
SRDef const | forward_prefactor = 1. , |
||
SRDef const | backward_prefactor = 1. |
||
) |
Syncs between worker segments.
References calcContrL(), calcContrR(), syten::Tensor< rank >::clear(), clearUnneeded(), conf, contrL, contrR, syten::Tensor< rank >::dirs, syten::MPS::State::dropUnmatched(), errs, evolveSite(), evolveTwo(), syten::genFuse(), syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::invertDiagonal(), logTrace(), std::max(), std::move(), syten::MPS::norm(), ops, position, psi, rbound, syten::Truncation::scaled(), syten::singValSqdToError(), syten::SVD::svd(), std::swap(), SYTEN_ASSERT_DEBUG, SYTEN_TDVP_MINUS_I, std::tie(), TPO_LOOP, and syten::TDVP::Conf::trunc.
Referenced by sync().