SyTen

◆ mps_mpo_ctr_ctr()

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.

Parameters
leftthe left-contraction (to the left)
rightthe right-contraction
lowerthe ‘lower’ MPS component, not complex-conjugated
opthe local MPO component
Returns
the maximally possible contraction of the supplied arguments

Pictorially:

[ 3]- -[3 ]
[ ] | [ ]
[ left 1]---[ op ]--[1 right ]
[ ] | [ ]
[ 2]---[ lower]--[2 ]
T left(T... args)

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: