SyTen

◆ overlap()

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

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

Parameters
athe first state, to be complex-conjugated
bthe second state, not complex conjugated
Returns
the overlap \( \langle a | b \rangle \)

References overlap_rec(), syten::BTT::State::pleaseCache, syten::BinaryTree::Tree< T >::r, and syten::trace().

Referenced by syten::BTT::State::load(), and normSqd().

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