STensor syten::IPEPSv2::expectation_value | ( | State const & | psi, |
CornerTransferMatrix const & | ctm, | ||
AOneOp const & | op | ||
) |
Calculates the expectation value of the state psi
with respect to the applied one-site operator op
.
References syten::conj(), syten::STensorImpl::flip_in_product(), syten::make_vacuum(), syten::IdentityDenseTensorImpl::merge(), syten::project(), SYTEN_ASSERT_MSG, std::tie(), and syten::trace().
Referenced by expectation_value(), syten::Pyten::init_ipeps2_functions(), and syten::Pyten::init_ipeps_state().