SyTen

◆ expectation_rec()

Tensor< 3 > syten::BTT::expectation_rec ( const State::Ptr  aptr,
const Operator::Ptr  optr,
const State::Ptr  bptr,
bool const  cache 
)

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::BTT::Operator::aIdx, syten::BTT::State::aIdx, syten::BTT::Operator::bIdx, syten::BTT::State::bIdx, syten::BTT::Operator::dIdx, syten::genCombinator(), syten::genSplit(), syten::BTT::State::pIdx, syten::BTT::Operator::rIdx, syten::BTT::State::rIdx, syten::split(), SYTEN_ASSERT_DEBUG, and syten::BTT::Operator::uIdx.

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

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