Return the energy estimate from the specific site.
The first value is the calculation only for the first MPO, the second value is the sum for all MPOs.
i | site index |
Requires the left- and right contractions to the left/right of that site to exist.
References contrLeft, contrRight, syten::MPS::Operator::dIdx, length, syten::MPS::Operator::lIdx, syten::MPS::State::lIdx, op, psi, syten::MPS::Operator::rIdx, syten::MPS::State::rIdx, syten::MPS::State::rInt, SYTEN_ASSERT_DEBUG, syten::MPS::Operator::uIdx, syten::MPS::State::uIdx, and syten::MPS::State::uInt.
Referenced by logIter(), and Worker().