SyTen

◆ overlap() [4/5]

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

Returns the overlap \(\langle b | a \rangle\) between two states.

Parameters
bthe first state, to be complex-conjugated.
athe second state, not complex-conjugate.
Returns
the overlap between the two states, i.e. \(\langle b | a \rangle\).

References syten::MPS::State::lIdx, syten::MPS::State::maybeCache(), syten::MPS::State::rIdx, syten::MPS::State::size(), SYTEN_ASSERT, and syten::MPS::State::uIdx.

+ Here is the call graph for this function: