SyTen

◆ overlap() [2/2]

SDef syten::T3N::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 syten::T3N::State::cache_flag, syten::STensorImpl::ferm_trace(), overlap_rec(), and syten::T3N::Tree::Tree< T >::Root.

Referenced by normSqd(), and variance().

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