| Tensor< 3 > syten::MPS::mps_mpo_ctr_ctr | ( | Tensor< 3 > const & | left, |
| Tensor< 3 > const & | right, | ||
| Tensor< 3 > const & | lower, | ||
| Tensor< 4 > const & | op | ||
| ) |
Calculates a local site contraction.
| left | the left-contraction (to the left) |
| right | the right-contraction |
| lower | the ‘lower’ MPS component, not complex-conjugated |
| op | the local MPO component |
Pictorially:
For lower and op, the standard index ordering is in effect. The resulting MPS component also follows that index ordering.
References syten::MPS::Operator::dIdx, syten::MPS::Operator::lIdx, syten::MPS::State::lIdx, syten::MPS::State::lInt, syten::MPS::Operator::rIdx, syten::MPS::State::rIdx, syten::MPS::State::rInt, syten::MPS::Operator::uIdx, syten::MPS::State::uIdx, and syten::MPS::State::uInt.
Referenced by apply_op_orthogonalise_fit().
Here is the caller graph for this function: