Public Types | |
enum | Type { Creation, Annihilation } |
Public Member Functions | |
LadderOperator () | |
LadderOperator (Type type, Statistics statistics, const HoppingAmplitudeSet *hoppingAmplitudeSet, unsigned int state, unsigned int numBitsPerState, unsigned int maxOccupation, const FockState< BIT_REGISTER > &templateState, const BIT_REGISTER &fermionMask) | |
~LadderOperator () | |
Type | getType () const |
const Index | getPhysicalIndex () const |
unsigned int | getState () const |
unsigned int | getNumParticles (const FockState< BIT_REGISTER > &fockState) const |
FockState< BIT_REGISTER > & | operator* (FockState< BIT_REGISTER > &rhs) const |
|
strong |
Operator type.
TBTK::LadderOperator< BIT_REGISTER >::LadderOperator | ( | ) |
Constructor.
TBTK::LadderOperator< BIT_REGISTER >::LadderOperator | ( | Type | type, |
Statistics | statistics, | ||
const HoppingAmplitudeSet * | hoppingAmplitudeSet, | ||
unsigned int | state, | ||
unsigned int | numBitsPerState, | ||
unsigned int | maxOccupation, | ||
const FockState< BIT_REGISTER > & | templateState, | ||
const BIT_REGISTER & | fermionMask | ||
) |
Constructor.
TBTK::LadderOperator< BIT_REGISTER >::~LadderOperator | ( | ) |
Destructor.
unsigned int TBTK::LadderOperator< BIT_REGISTER >::getNumParticles | ( | const FockState< BIT_REGISTER > & | fockState | ) | const |
Get number of particles in the associated state.
const Index TBTK::LadderOperator< BIT_REGISTER >::getPhysicalIndex | ( | ) | const |
Get physical Index of associated single-particle state.
unsigned int TBTK::LadderOperator< BIT_REGISTER >::getState | ( | ) | const |
Get associated single-particle state.
LadderOperator< BIT_REGISTER >::Type TBTK::LadderOperator< BIT_REGISTER >::getType | ( | ) | const |
Get type.
FockState< BIT_REGISTER > & TBTK::LadderOperator< BIT_REGISTER >::operator* | ( | FockState< BIT_REGISTER > & | rhs | ) | const |
Multiplication operator.