std::vector< std::pair< Rep, SparseTensor< 3, CDef > > > syten::RepRegister::Decomp::productDecomp | ( | Rep const & | a, |
Rep const & | b, | ||
Ordinal const & | resultIndex = Ordinal::Third |
||
) |
Decomposes the product representation and returns a list of pairs of irreps with the associated CGC spaces.
a | first rep in the product |
b | second rep in the product |
resultIndex | index of the product irrep in the CGC space, i.e. if resultIndex = Ordinal::Second, the cgc space has indices corresponding to [a, result, b]. |
References syten::Rep::ferm, syten::Rep::group, syten::Rep::phys, and SYTEN_ASSERT_MSG.
Referenced by syten::ProjectedPurification::complementary(), syten::genFuse(), syten::genIINode(), syten::genRandom(), and syten::genReps().