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

TBTK::FockStateRuleSet::FockStateRuleSet ( )

Constructor

TBTK::FockStateRuleSet::~FockStateRuleSet ( )

Destructor.

Member Function Documentation

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

Add FockStateRule.

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

Get size.

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.

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.

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

Comparison operator.

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

Friends And Related Function Documentation

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.

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: