std::tuple< STensor, SBasis > syten::STensorImpl::zero_expand | ( | STensor | a, |
SBasis const & | inner, | ||
SBasis const & | zero | ||
) |
Constructs a zero-expanded tensor, expanding the leg inner
by sectors as described in zero
.
References syten::STensorImpl::STensor::autodiff_enabled(), syten::STensorImpl::STensor::b(), syten::STensorImpl::STensor::bi(), combine_bases(), syten::STensorImpl::SBasis::dir(), syten::STensorImpl::STensor::move(), syten::STensorImpl::STensor::rank(), SYTEN_ASSERT_MSG, syten::STensorImpl::STensor::visnz(), and syten::zeroExpand().
Referenced by syten::T3N::DMRG::Run::expandBranch(), syten::IPEPSv2::full_update_apply_gate(), and zero_expand_sam().