TBTK
TBTK::FockStateRuleSet Class Reference

Public Member Functions

 FockStateRuleSet ()
 
 ~FockStateRuleSet ()
 
bool isSatisfied (const FockSpace< BitRegister > &fockSpace, const FockState< BitRegister > &fockState) const
 
bool isSatisfied (const FockSpace< ExtensiveBitRegister > &fockSpace, const FockState< ExtensiveBitRegister > &fockState) const
 
void addFockStateRule (const FockStateRule::WrapperRule &fockStateRule)
 
unsigned int getSize () const
 
bool operator== (const FockStateRuleSet &rhs) const
 
void print () const
 

Friends

FockStateRuleSet operator* (const LadderOperator< BitRegister > &ladderOperator, const FockStateRuleSet &fockStateRuleSet)
 
FockStateRuleSet operator* (const LadderOperator< ExtensiveBitRegister > &ladderOperator, const FockStateRuleSet &fockStateRuleSet)
 

Constructor & Destructor Documentation

◆ FockStateRuleSet()

TBTK::FockStateRuleSet::FockStateRuleSet ( )

Constructor

◆ ~FockStateRuleSet()

TBTK::FockStateRuleSet::~FockStateRuleSet ( )

Destructor.

Member Function Documentation

◆ addFockStateRule()

void TBTK::FockStateRuleSet::addFockStateRule ( const FockStateRule::WrapperRule fockStateRule)
inline

Add FockStateRule.

◆ getSize()

unsigned int TBTK::FockStateRuleSet::getSize ( ) const
inline

Get size.

◆ isSatisfied() [1/2]

bool TBTK::FockStateRuleSet::isSatisfied ( const FockSpace< BitRegister > &  fockSpace,
const FockState< BitRegister > &  fockState 
) const

Check whether a given FockState fullfills the rule with respect to a particular FockSpace.

◆ isSatisfied() [2/2]

bool TBTK::FockStateRuleSet::isSatisfied ( const FockSpace< ExtensiveBitRegister > &  fockSpace,
const FockState< ExtensiveBitRegister > &  fockState 
) const

Check whether a given FockState fullfills the rule with respect to a particular FockSpace.

◆ operator==()

bool TBTK::FockStateRuleSet::operator== ( const FockStateRuleSet rhs) const

Comparison operator.

◆ print()

void TBTK::FockStateRuleSet::print ( ) const
inline

Friends And Related Function Documentation

◆ operator* [1/2]

FockStateRuleSet operator* ( const LadderOperator< BitRegister > &  ladderOperator,
const FockStateRuleSet fockStateRuleSet 
)
friend

Multiplication operator between a LadderOperator and a FockStateRuleSet. Creates a new FockStateRuleSet containing the FockStateRules that results from applying the operator to each FockStateRule in the current FockStateRuleSet.

◆ operator* [2/2]

FockStateRuleSet operator* ( const LadderOperator< ExtensiveBitRegister > &  ladderOperator,
const FockStateRuleSet fockStateRuleSet 
)
friend

Multiplication operator between a LadderOperator and a FockStateRuleSet. Creates a new FockStateRuleSet containing the FockStateRules that results from applying the operator to each FockStateRule in the current FockStateRuleSet.


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