SyTen

◆ build_ctr_overlap_right()

Tensor< 2 > syten::MPS::build_ctr_overlap_right ( Tensor< 2 > const &  right,
Tensor< 3 > const &  lower,
Tensor< 3 > const &  upper 
)

Combines upper and lower with the existing right-contraction to form a new right contraction.

The second leg of right will be connected to the right leg of upper, the first leg of right will be connected to the right leg of lower. upper and lower are assumed to be in MPS::State ordering.

References syten::MPS::State::lIdx, syten::MPS::State::rIdx, and syten::MPS::State::uIdx.

Referenced by orthogonalise_variational(), orthogonalise_variational_two_site(), and syten::MPS::State::truncateVariational().

+ Here is the caller graph for this function: