STensor syten::T3N::genPhysCmp | ( | SBasis const & | p_basis, |
SBasis const & | a_basis, | ||
SBasis const & | r_basis | ||
) |
Generates an local operator in a T3N network matching the specified basis for a physical Node.
p_basis | incoming physical basis |
a_basis | incoming left tensor network basis |
r_basis | outgoing root-directed basis |
References syten::STensorImpl::SBasis::dir(), syten::STensorImpl::SBasis::flipped(), syten::STensorImpl::gen_merge(), std::move(), syten::IdentityDenseTensorImpl::split(), and SYTEN_ASSERT_DEBUG.
Referenced by genPhysId(), and syten::T3N::RDMs::OneParticleRDM::twoSite_right_rec().