SyTen

◆ sp_result()

template<typename Vec >
auto syten::Krylov::SolverPolicies::Exponential::sp_result ( std::vector< Vec > const &  krylov,
SRDef  initialnorm,
SDef  _idt 
) const
inline

Calculates \( \mathrm{exp}(t H) |\psi\rangle \) where \( |\psi \rangle \) is taken as the first element of krylov multiplied by its initial norm initialnorm and t = _idt.

Requires a previous call to convergence() to calculate the coefficients needed.

References std::begin(), syten::closeThreshold(), std::end(), memoizedCoeffs, memoizedPrefactor, SYTEN_ASSERT, and SYTEN_SMALL_THRESHOLD.

+ Here is the call graph for this function: