SyTen

◆ dot() [2/2]

Operator syten::MPS::dot ( Operator const &  a,
Operator const &  b,
Sector const &  target 
)

Scalar product of two operators, i.e. the product of the operators projected on the supplied vacuum sector.

Parameters
afirst operator
bsecond operator
targettarget sector
Returns
\( \left( \hat b^\dagger \hat a\right)_{\mathrm{target}} \), i.e. a is first applied, then the dual space conjugate of b (not necessarily the same as the hermitian conjugate).

References syten::compat_exact_equal(), syten::MPS::Operator::dirs, syten::genFuse(), syten::genIINode(), syten::genOONode(), syten::genSplit(), syten::MPS::Operator::isSingleSite(), syten::MPS::Operator::lIdx, syten::Out, syten::MPS::Operator::rIdx, syten::MPS::Operator::singleSite(), std::vector< T >::size(), SYTEN_ASSERT_DEBUG, and syten::transpose_exchange().

Referenced by dot(), and syten::MPS::ParseOperator::dotqF().

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