SyTen

◆ overlap() [1/5]

SDef syten::MPS::overlap ( LBOState const &  b,
LBOState const &  a 
)

Calculates the overlap of two states.

References syten::MPS::LBOState::m(), syten::MPS::LBOState::size(), SYTEN_ASSERT, and syten::MPS::LBOState::v().

Referenced by syten::MPS::RandomState::generateSampledState(), syten::Pyten::init_mps(), normSqd(), syten::MPS::State::truncateVariational(), and variance().

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