Returns the expectation value of an operator between two states as \( \langle b | \left( \hat O | a \rangle \right) \).
a | the first state, not complex conjugated, acted upon by \( \hat O \) |
b | the second state, to be complex-conjugated |
op | the operator |
References expectation_rec(), and syten::T3N::Tree::Tree< T >::Root.
Referenced by syten::T3N::TDVP::Worker::run().