SyTen
QCDMRG::OperatorTerm Class Reference
+ Collaboration diagram for QCDMRG::OperatorTerm:

Public Member Functions

void addParity (int i)
 
double coeff () const noexcept
 
bool isFermionic (int i, const std::vector< int > &fermionicData) const
 
pos_op_toperator() (int i)
 
const pos_op_toperator() (int i) const
 
 OperatorTerm (std::size_t nops, double coefficient)
 
int pos (int i) const
 
void removeParity (int i)
 
void set (int i, const pos_op_t &op)
 
void set (int i, int position, int type_index)
 
std::size_t size () const noexcept
 
void sort ()
 
double spin (int i, const std::vector< double > &spinData) const
 
const pos_op_tsso (int i) const
 
pos_op_t ssoWithoutParity (int i) const
 
pos_op_t ssoWithParity (int i) const
 
int type (int i) const
 
bool withParity (int i) const
 

Static Public Member Functions

static void setLabels (const std::vector< std::string > &labels)
 
static void setSSOFermionicData (const std::vector< int > &data)
 

Private Attributes

double coeff_
 
std::vector< pos_op_tssos_
 

Static Private Attributes

static std::vector< int > k_fermionic_flags_ = {}
 
static std::vector< std::stringk_labels_ = {}
 

Friends

std::ostreamoperator<< (std::ostream &os, const OperatorTerm &term)
 

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