SRDef syten::MPS::State::truncateVariational | ( | Truncation const & | trunc = Truncation() , |
State::DropNorm const | dropN = DropNorm::Yes |
||
) |
Truncates the state using a two-site variational fitting procedure.
References syten::abs(), std::vector< T >::back(), syten::MPS::build_ctr_overlap_left(), syten::MPS::build_ctr_overlap_right(), syten::MPS::build_two_site_environment(), syten::Caching::do_cache, syten::genIONode(), leftnorm(), lIdx, syten::logGD(), maybeCache(), syten::MPS::norm(), syten::MPS::overlap(), syten::overThreshold(), pleaseCache, std::vector< T >::pop_back(), std::vector< T >::push_back(), rIdx, rightnorm(), std::scientific(), std::setprecision(), size(), std::vector< T >::size(), syten::MPS::split_rank_4_into_mps_lnorm(), and syten::MPS::split_rank_4_into_mps_rnorm().
Referenced by syten::Pyten::init_mps().