| SDef syten::IPEPS::Horz2CTM::expectation_value | ( | State const & | psi, |
| ATwoOp const & | op, | ||
| bool | assume_norm_one = false |
||
| ) | const |
Calculates the expectation value \( \langle \psi | \hat o |
\psi \rangle / \langle \psi | \psi \rangle \) requiring that op acts on the two focus sites of this.
If assume_norm_one is true, \( \langle \psi | \psi \rangle
\) is assumed to be one and not calculated.
References syten::Tensor< rank >::b(), syten::IPEPS::barTensor(), bl, blb, br, brb, cl, clb, syten::Deparallelise::cols(), cr, crb, syten::Basis::f(), syten::gM(), syten::gME(), syten::insertIOFullHalf(), syten::insertSwap(), std::move(), normSqd(), syten::project(), syten::STensorImpl::qr(), syten::IPEPS::sldlmap(), syten::split(), tl, tlb, tr, and trb.
Referenced by syten::IPEPS::expectation().
Here is the call graph for this function:
Here is the caller graph for this function: