SyTen

◆ sweep_single()

bool syten::MPS::TDVP::LBOWorker::sweep_single ( Timer timer,
SRDef trunc_error,
SRDef krylov_error 
)

Does a single sweep of single-site TDVP, delivering the timer and errors in its arguments and returning true if we should exit due to having received a signal.

Remarks
If my understanding is correct, this procedure should give a second-order integrator, as the solution of equations on the left-to-right sweep is the direct inverse of the equations on the right-to-left sweep.

References calc_contrl(), calc_contrr(), check_signals(), contrl, contrr, syten::MPS::LBOState::dIdx, syten::Timer::end(), syten::IterativeExit::error, evo_bond_m(), evo_bond_v(), evo_one_m(), evo_one_v(), expo_unity, syten::MPS::LBOState::lIdx, syten::MPS::LBOState::m(), syten::Timer::middle(), syten::MPS::LBOState::No, syten::MPS::LBOState::physnormM(), syten::MPS::LBOState::physnormV(), psi, syten::QR::qr(), syten::MPS::LBOState::rIdx, syten::MPS::LBOState::size(), syten::Timer::start(), std::tie(), syten::transpose(), syten::MPS::LBOState::uIdx, and syten::MPS::LBOState::v().

Referenced by run().

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