Tensor< 2 > syten::MPS::build_ctr_overlap_left | ( | Tensor< 2 > const & | left, |
Tensor< 3 > const & | lower, | ||
Tensor< 3 > const & | upper | ||
) |
Combines upper
and lower
with the existing left-contraction to form a new left contraction.
The second leg of left
will be connected to the left leg of upper
, the first leg of left
will be connected to the left 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().