SyTen

◆ directional_qr()

std::tuple< STensor, STensor, SBasis > syten::IPEPSv2::directional_qr ( STensor const &  in,
SBasisId const &  aux,
SBasisId const &  phy 
)

Decomposes the state tensor in in the direction of the basis aux, moving the physical basis phy into a rank-3 tensor.

Returns a new rank-4 tensor q, a rank-3 tensor r (with bases aux, phy and intermediate) and the intermediate basis created by the QR decomposition.

References syten::STensorImpl::STensor::b(), syten::STensorImpl::demerge(), syten::STensorImpl::SBasis::dir(), syten::STensorImpl::flip_on_tensor(), syten::IdentityDenseTensorImpl::merge(), syten::STensorImpl::SBasis::name(), syten::STensorImpl::qr(), and SYTEN_ASSERT.

Referenced by full_update_horizontal(), full_update_vertical(), and simple_update().

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