Tensor< 3 > syten::MPS::mps_mpo_mps_ctr_right | ( | Tensor< 3 > const & | right, |
Tensor< 3 > const & | lower, | ||
Tensor< 3 > const & | upper, | ||
Tensor< 4 > const & | op | ||
) |
Calculates a new right-contraction of an MPO with an MPS.
right | the previous-right contractions. |
lower | the ‘lower’ MPS component, not complex-conjugated |
upper | the ‘upper’ MPS component, complex-conjugated |
op | the local operator component |
Pictorially:
upper
, op
and lower
follow the standard index ordering.
Referenced by apply_op_orthogonalise_fit(), syten::MPS::TDVP::LBOWorker::calc_contrr(), syten::MPS::TDVP::Worker::calcContrR(), syten::EnergyTruncation::EnergyTruncator< MPS::State, std::vector< MPS::Operator > >::calcContrRight(), syten::MPS::ProjectedPurification::correlator(), and syten::MPS::ProjectedPurification::local_expectation().