SyTen

◆ evolveTwo()

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.

Parameters
mergedthe two state tensors merged together
prefactorprefactor X in exp(X * dt * H)
lSiteposition of the left site, needed for operator lookup
rSiteposition 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(), TPO_LOOP, syten::MPS::Operator::uIdx, and syten::MPS::Operator::uInt.

Referenced by sweepLeftTwoSite(), sweepRightTwoSite(), and sync().

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