IterativeExit syten::MPS::TDVP::Worker::evolveTwo | ( | Tensor< 4 > & | merged, |
SDef const | prefactor, | ||
Index const | lSite, | ||
Index const | rSite | ||
) |
Evolve two sites, reads/writes to merged
argument.
merged | the two state tensors merged together |
prefactor | prefactor X in exp(X * dt * H) |
lSite | position of the left site, needed for operator lookup |
rSite | position of the right site, needed for operator lookup |
References syten::Tensor< rank >::clear(), conf, syten::TDVP::Conf::contract_seq, contrL, contrR, std::cref(), syten::MPS::Operator::dIdx, syten::MPS::Operator::dInt, syten::TDVP::Conf::dt, syten::TDVP::Conf::exp_conf, syten::Krylov::expLanczos(), FOR_LOOP_I, syten::genFuse(), syten::genSplit(), syten::Tensor< rank >::getBasis(), syten::Tensor< rank >::getMaxBlocksize(), syten::MPS::Operator::lIdx, syten::MPS::Operator::lInt, std::move(), syten::MPS::norm(), ops, std::vector< T >::push_back(), syten::TDVP::Conf::renormalise_immediately, std::vector< T >::resize(), syten::MPS::Operator::rIdx, syten::MPS::Operator::rInt, syten::sum(), total_norm_change, TPO_LOOP, syten::MPS::Operator::uIdx, and syten::MPS::Operator::uInt.
Referenced by sweepLeftTwoSite(), sweepRightTwoSite(), and sync().