SyTen

◆ apply_energy_truncation()

template<typename Matrix , typename Vector , typename OrthoPolicy , typename EnergyTruncationPolicy >
template<typename... Params>
IterativeExit syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::apply_energy_truncation ( Config const &  conf,
Vector &  result,
Params &&...  params 
)
inline

Solve the problem obeying configuration conf.

The result is stored in result. params are passed to the EnergyTruncationPolicy which is expected to generate a series of coefficients.

References syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::a, syten::Timer::add(), syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::b, std::vector< T >::back(), syten::Converged, syten::Timer::end(), syten::EnergyTruncation::Config::energy_window, syten::IterativeExit::error, std::vector< T >::front(), syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::get_projected_matrix(), syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::H, syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::initial_norm, syten::isnan(), syten::IterativeExit::iter, syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::krylov, syten::logGW(), syten::logTV(), syten::MaxIterations, syten::MaxPossible, syten::IterativeExit::message, syten::Timer::middle(), std::move(), syten::norm(), syten::overlap(), std::vector< T >::push_back(), syten::real(), syten::IterativeExit::reason, std::vector< T >::size(), syten::EnergyTruncation::EnergyTruncationPolicy::sp_convergence(), syten::EnergyTruncation::EnergyTruncationPolicy::sp_result(), syten::Timer::start(), SYTEN_ASSERT_MSG, syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::test_solve_now(), syten::to_string_rd(), syten::underThreshold(), and syten::EnergyTruncation::Standard< Matrix, Vector, OrthoPolicy, EnergyTruncationPolicy >::vec_stored.

Referenced by syten::EnergyTruncation::EnergyTruncator< MPS::State, std::vector< MPS::Operator > >::apply().

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