SyTen

◆ build_single_site_environment()

Tensor< 3 > syten::MPS::build_single_site_environment ( Tensor< 2 > const &  right,
Tensor< 2 > const &  left,
Tensor< 3 > const &  local 
)

Combines two rank-2 overlap environment tensors and a single rank-3 MPS tensor into an environment tensor in the standard MPS ordering.

The first leg of left is connected to the left leg of local while the first leg of right is connected to the right leg of local. local is assumed to be in MPS::State ordering.

References syten::MPS::State::lIdx, syten::MPS::State::lInt, syten::MPS::State::rIdx, syten::MPS::State::rInt, syten::MPS::State::uIdx, and syten::MPS::State::uInt.

Referenced by orthogonalise_variational().

+ Here is the caller graph for this function: