SyTen

◆ overlap() [5/5]

SDef syten::MPS::overlap ( State const &  b,
State const &  a,
std::array< Index, 2 >  lhs,
Index const  to 
)

Returns overlap but performs swap operation on blocks beforehand.

Parameters
bthe first state, to be complex-conjugated.
athe second state, not complex-conjugate.
lhsAll the sites which are swapped on the r.h.s.
toWhere sites are swapped to.
Returns
the overlap with swapped sites.

References std::array< T >::begin(), std::array< T >::end(), std::endl(), syten::genIONode(), syten::MPS::State::lIdx, syten::logGI(), syten::MPS::State::maybeCache(), syten::progress(), syten::MPS::State::rIdx, syten::MPS::State::size(), std::sort(), SYTEN_ASSERT, and syten::MPS::State::uIdx.

+ Here is the call graph for this function: