std::tuple< STensor, SBasisId > syten::T3N::genBranchId | ( | SBasis const & | a_basis, |
SBasis const & | b_basis | ||
) |
Generates an identity local operator in a T3N network for a physical Node.
a_basis | incoming physical basis |
b_basis | incoming left tensor network basis |
References syten::STensorImpl::SBasis::dir(), syten::STensorImpl::gen_merge(), std::move(), and SYTEN_ASSERT_DEBUG.
Referenced by genBranchCmp(), syten::T3N::ProjectedPurification::genTransformation(), syten::T3N::Lattice::makeIdentity(), syten::T3N::RDMs::OneParticleRDM::twoSite_right_rec(), and syten::T3N::RDMs::OneParticleRDM::twoSite_upwards_rec().