SyTen

◆ expectation_value() [3/6]

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

Calculates the expectation value of the state psi with respect to the applied two-site operator op using the CTM ctm.

References syten::conj(), syten::STensorImpl::demerge(), syten::STensorImpl::flip_in_product(), syten::STensorImpl::flip_on_tensor(), syten::IdentityDenseTensorImpl::merge(), syten::STensorImpl::snorm(), syten::STensorImpl::svd(), SYTEN_ASSERT_MSG, SYTEN_SMALL_THRESHOLD, and std::tie().

+ Here is the call graph for this function: