SyTen

◆ expectation_rec()

STensor syten::T3N::expectation_rec ( State::cPtrc const  aptr,
Operator::cPtrc const  optr,
State::cPtrc const  bptr 
)

Returns the partial contraction of tensors below (and including) the supplied pointers.

The first pointer is not complex conjugated, the second pointer is complex conjugated.

References syten::MPS::conj(), syten::STensorImpl::STensor::e(), expectation_rec(), syten::STensorImpl::gen_merge(), syten::STensorImpl::project(), syten::rank(), SYTEN_ASSERT_DEBUG, and SYTEN_ASSERT_MSG.

Referenced by expectation(), and expectation_rec().

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