| SDef syten::IPEPS::Vert2CTM::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(), bsite, cb, cbb, syten::Deparallelise::cols(), ct, ctb, syten::IPEPS::dist(), syten::Basis::f(), syten::gM(), syten::gME(), syten::insertIOFullHalf(), syten::insertSwap(), lb, lbb, lt, ltb, std::move(), normSqd(), syten::STensorImpl::qr(), rb, rbb, rt, rtb, syten::IPEPS::sldlmap(), syten::split(), SYTEN_ASSERT, and tsite.
Referenced by syten::IPEPS::expectation().
Here is the call graph for this function:
Here is the caller graph for this function: