SyTen

◆ orthogonalise_variational() [2/2]

template<typename Iterator >
void syten::MPS::orthogonalise_variational ( State psi,
Iterator  first,
Iterator  last 
)
inline

variationally orthogonalise a state wrt a set of other states in-place

Parameters
psithe state to be orthogonalised (in place)
firstthe iterator to the first state of the set
lastthe iterator to the "past the end" element

References std::vector< T >::back(), std::vector< T >::begin(), build_ctr_overlap_left(), build_ctr_overlap_right(), build_single_site_environment(), syten::conj(), distance(), syten::Caching::do_cache, std::vector< T >::end(), syten::genIONode(), syten::MPS::State::leftnorm(), syten::MPS::State::lIdx, syten::MPS::State::maybeCache(), std::move(), normSqd(), syten::orthogonalise_solve_svd(), std::vector< T >::pop_back(), std::vector< T >::push_back(), syten::MPS::State::rIdx, syten::MPS::State::rightnorm(), SYTEN_SMALL_THRESHOLD, and syten::underThreshold().

Referenced by orthogonalise_variational_two_site().

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