SyTen

◆ productDecomp()

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.

Parameters
afirst rep in the product
bsecond rep in the product
resultIndexindex of the product irrep in the CGC space, i.e. if resultIndex = Ordinal::Second, the cgc space has indices corresponding to [a, result, b].
Returns
a vector of pairs containing an irrep and its CGC space

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().

+ Here is the caller graph for this function: