Calculates the expectation value \(\langle b | \left(\hat O | a \rangle\right)\).
References syten::genCombinator(), syten::genFuse(), lboify_mpo_cmp(), syten::MPS::LBOState::m(), syten::MPS::LBOState::size(), SYTEN_ASSERT_DEBUG, and syten::MPS::LBOState::v().
Referenced by expectation(), sqaure_expectation(), and variance().