SyTen

◆ left_complement()

Tensor< 3 > syten::MPS::left_complement ( Tensor< 3 >  a,
Basis const &  local,
Basis const &  left 
)

Constructs the left complement to an existing left-normalised tensor a accessing the remaining parts of the full right space.

Parameters
[in]aexisting left-normalised tensor
[in]localcomplete local physical basis, incoming
[in]leftleft basis, outgoing

References syten::Basis::adjointed(), syten::DenseTensor< rank, Scalar >::dim(), syten::Basis::dir, syten::BasisMap::elementSize(), syten::Basis::flippedAdjointed(), syten::genIINode(), syten::genSplit(), syten::Tensor< rank >::getBasisMap(), syten::Inc, syten::MPS::State::lIdx, std::move(), syten::Out, syten::QR::qr(), syten::Tensor< rank >::reduce(), syten::MPS::State::rIdx, SYTEN_ASSERT_MSG, SYTEN_MPS_EXPECT_ORDER, syten::MPS::State::uIdx, and syten::YesNo< T >::y().

Referenced by error_estimate_2svariance(), syten::MPS::DMRG::Worker::sweepLeft2sVar(), and syten::MPS::DMRG::Worker::sweepRight2sVar().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: