SyTen

◆ expectation_value() [2/6]

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::STensorImpl::SBasis::add(), 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: