SyTen

◆ expectation_value() [4/6]

STensor syten::IPEPSv2::expectation_value ( State const &  psi,
CornerTransferMatrix const &  ctm,
ATwoOp const &  op1,
ATwoOp const &  op2 
)

Implementation helper: Calculates the expectation value of a state with two applied two-site operators.

References syten::conj(), syten::STensorImpl::demerge(), syten::STensorImpl::STensor::e(), syten::STensorImpl::flip_in_product(), syten::STensorImpl::flip_on_tensor(), syten::IPEPSv2::ATwoOp::left, syten::IdentityDenseTensorImpl::merge(), syten::norm(), syten::IPEPSv2::ATwoOp::right, syten::STensorImpl::snorm(), syten::STensorImpl::svd(), SYTEN_ASSERT, SYTEN_SMALL_THRESHOLD, and std::tie().

+ Here is the call graph for this function: