SyTen
syten::Rep Class Reference

Single irrep of a (physical) symmetry group. More...

#include <rep.h>

+ Collaboration diagram for syten::Rep:

Public Member Functions

Rep adjoint () const
 Returns the adjoint of this irrep. More...
 
Index degree () const
 Returns the degree of the group to which this irrep belongs. More...
 
Index dim () const
 Returns the dimension of the irrep. More...
 
bool isFermionic () const
 Returns true if this individual rep is fermionic, i.e. More...
 
bool isVacuum () const
 Returns true if this irrep is the vacuum irrep, i.e. all labels are 0. More...
 
template<class Archive >
void load (Archive &ar, const unsigned int in_version)
 Load and reconstruct the irrep. More...
 
bool operator!= (Rep const &b) const
 Returns true iff operator==() returns false. More...
 
bool operator< (Rep const &b) const
 Returns true if the first label that is not equal in both reps is smaller in *this More...
 
Repoperator= (Rep const &o)=default
 Copy assignment. More...
 
bool operator== (Rep const &b) const
 Returns true iff both irreps belong to the same (mathematical) symmetry and are the same irrep. More...
 
 Rep ()=default
 Default ctor initialises an undefined irrep. More...
 
 Rep (Rep const &old)=default
 Copy ctor. More...
 
 Rep (RepLabel label_, Group group_, char phys_, Fermionic ferm_=Fermionic::Never)
 Ctor if the group is already known in the registry, not defining matrices are necessary then. More...
 
 Rep (std::vector< DenseTensor< 2, MDef > > rOp_, std::vector< DenseTensor< 2, MDef > > lOp_, std::vector< DenseTensor< 2, MDef > > zOp_, RepLabel label_, Group group_, char phys_, Fermionic ferm_=Fermionic::Never)
 Standard constructor for a new irrep if that irrep is not yet contained in the registry. More...
 
template<class Archive >
void save (Archive &ar, const unsigned int) const
 Save the irrep; we annoyingly have to store the defining matrices every time in order to be certainly able to reconstruct the irrep. More...
 

Public Attributes

Fermionic ferm {Fermionic::Never}
 specifies when this rep is fermionic More...
 
Group group {Group::Nil}
 Underlying mathematical group. More...
 
RepLabel label {{0}}
 Set of labels to denote the specific irrep. More...
 
char phys {'0'}
 Physical description of the symmetry, e.g. 'C' or 'z', by convention use lowercase for \(U(1)\) and uppercase for \(SU(N>1)\). More...
 

Static Public Attributes

static constexpr unsigned int version = 2
 Boost serialisation version. More...
 

Detailed Description

Single irrep of a (physical) symmetry group.


The documentation for this class was generated from the following files: