syten::T3N::TDVP::Worker::Worker | ( | State && | psi_, |
Vec< Operator > && | ops_, | ||
Conf && | conf_, | ||
Vec< Operator > && | obs_ = Vec<Operator>() |
||
) |
Standard ctor.
Set up contraction network. There is one additional node atop the root node to serve as a dummy for contractions, hence the operator or state network should be taken as the reference network.
References syten::TDVP::Conf::cache, conf, syten::TDVP::Conf::current, syten::TDVP::Conf::dt, syten::TDVP::Conf::exp_conf, syten::logGI(), syten::logGN(), syten::Truncation::maxStates, syten::TDVP::Conf::maxt, syten::T3N::State::maybe_make_cuda(), syten::TDVP::Conf::mode, syten::TDVP::Conf::mt_interval, syten::TDVP::Conf::mt_iter, ops, syten::TDVP::Conf::prefix, psi, syten::T3N::State::rootNormaliseTree(), syten::TDVP::Conf::save_interval, syten::Truncation::threshold, TPO_LOOP, syten::TDVP::Conf::trunc, and syten::Truncation::weight.