SyTen

◆ normSqd() [1/3]

SRDef syten::MPS::normSqd ( LBOState const &  a)

Calculates the norm of a state.

References syten::abs(), syten::STensorImpl::imag(), overlap(), syten::real(), SYTEN_ASSERT_DEBUG, and SYTEN_ZNORM_THRESHOLD.

Referenced by syten::MPS::RDMs::OrbRDM::checkValidity(), error_estimate_2svariance(), norm(), and orthogonalise_variational().

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