SyTen

◆ expectation_value() [1/6]

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

Calculates the expectation value of the state psi with respect to the applied one/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::remove_dummy_leg(), syten::STensorImpl::snorm(), syten::STensorImpl::svd(), SYTEN_ASSERT_MSG, SYTEN_SMALL_THRESHOLD, and std::tie().

+ Here is the call graph for this function: