SyTen

◆ genRepsU1()

std::vector< Rep > syten::genRepsU1 ( RDef  start,
Index  number = 0,
char  phys = 'c',
Fermionic  ferm = Fermionic::Never 
)

Generate a specific number of unique \( U(1) \) irreps with the specified physical symmetry description.

Parameters
startlabel of the first irrep. Suggested value is either \( -S_z\) if it is a spin symmetry or \( 0 \) if it is a charge symmetry.
numbernumber of irreps to generate. If number is 0 and start is negative, generate irreps [start, start+1, …, -start]. If number is 0 and start is 0 or greater, generate [start, start+1].
physphysical symmetry description
fermfermionic spec for the to-be-generated IREP(s)
Returns
a vector of \( U(1) \) irreps belonging to the specified physical symmetry description
Example\n
  • genRepsU1(-2.5, 0, "Sz") → [U(1)_Sz:[-2.5]@1, U(1)_Sz:[-1.5]@1, U(1)_Sz:[-0.5]@1, U(1)_Sz:[0.5]@1, U(1)_Sz:[1.5]@1, U(1)_Sz:[2.5]@1]
  • genRepsU1(0, 3, "N") → [U(1)_N:[0]@1, U(1)_N:[1]@1, U(1)_N:[2]@1]

Referenced by syten::MPS::Lat::U1::genBosonLattice(), syten::IPEPS::Lat::U1::genFermiSpinless(), syten::IPEPS::Lat::U1::genSpinDisorder(), syten::MPS::Lat::U1::genSpinDisorderLattice(), syten::IPEPS::Lat::U1::genSpinKagomeSquare(), syten::MPS::Lat::GCE::U1::genSpinLattice(), syten::MPS::Lat::U1::genSpinLattice(), and syten::IPEPS::Lat::U1::genSpinLattice().

+ Here is the caller graph for this function: