| std::pair< SDef, SRDef > syten::MPS::variance | ( | S && | a, |
| Operator const & | op, | ||
| S && | b, | ||
| SDef | norm = NAN |
||
| ) |
Calculates the expectation value and the variance.
References syten::abs(), expectation(), std::isnan(), norm(), overlap(), and sqaure_expectation().
Referenced by syten::calc_expval(), syten::do_expval(), and variance().
Here is the call graph for this function:
Here is the caller graph for this function: