std::tuple< STensor, STensor, SBasis > syten::IPEPSv2::directional_svd | ( | STensor const & | in, |
SBasisId const & | aux, | ||
SBasisId const & | phy | ||
) |
Like directional_qr
, decomposes the state tensor into a rank-3 tensor with auxiliary basis aux
and the physical basis phy
, but does so using a truncating SVD.
References syten::STensorImpl::STensor::b(), syten::STensorImpl::demerge(), syten::STensorImpl::SBasis::dir(), syten::STensorImpl::flip_on_tensor(), syten::IdentityDenseTensorImpl::merge(), std::move(), syten::STensorImpl::SBasis::name(), syten::STensorImpl::snorm(), syten::sqrt(), syten::STensorImpl::svd(), SYTEN_ASSERT, and SYTEN_SMALL_THRESHOLD.
Referenced by full_update_horizontal(), and full_update_vertical().