SDef syten::IPEPS::expectation | ( | State const & | psi, |
ATwoOp const & | op, | ||
Truncation const & | trunc = Truncation() |
||
) |
Calculates a single expectation value of the supplied two-site operator with respect to the state psi
.
No CTM steps are done, so the full CTM and double layer has to be available in psi
.
References syten::IPEPS::Horz2CTM::expectation_value(), and syten::IPEPS::Vert2CTM::expectation_value().
Referenced by syten::calc_expval(), syten::Krylov::TensorNetworksImpl::HEffDenseExpectation::H_eff(), syten::Krylov::TensorNetworksImpl::HEffTridiagExpectation::H_eff(), and syten::Pyten::init_ipeps_expval().