SyTen

◆ mps_mpo_mps_ctr_right()

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.

Parameters
rightthe previous-right contractions.
lowerthe ‘lower’ MPS component, not complex-conjugated
upperthe ‘upper’ MPS component, complex-conjugated
opthe local operator component
Returns
the new right-contraction

Pictorially:

3-[ upper]--[3 ]
| [ ]
1-[ op ]--[1 right ]
| [ ]
2-[ lower]--[2 ]

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().

+ Here is the caller graph for this function: