TBTK
TBTK::FockSpace< BIT_REGISTER > Class Template Reference

Public Member Functions

 FockSpace (const HoppingAmplitudeSet *hoppingAmplitudeSet, Statistics statistics, unsigned int maxParticlesPerState)
 
 ~FockSpace ()
 
LadderOperator< BIT_REGISTER > ** getOperators () const
 
FockState< BIT_REGISTER > getVacuumState () const
 
unsigned int getNumFermions (const FockState< BIT_REGISTER > &fockState) const
 
unsigned int getNumParticles (const FockState< BIT_REGISTER > &fockState, const Index &index) const
 
unsigned int getSumParticles (const FockState< BIT_REGISTER > &fockState, const Index &pattern) const
 
FockStateMap::FockStateMap< BIT_REGISTER > * createFockStateMap (int numParticles) const
 
FockStateMap::FockStateMap< BIT_REGISTER > * createFockStateMap (const FockStateRule::FockStateRule &rule) const
 
FockStateMap::FockStateMap< BIT_REGISTER > * createFockStateMap (std::initializer_list< const FockStateRule::WrapperRule > rules) const
 
FockStateMap::FockStateMap< BIT_REGISTER > * createFockStateMap (std::vector< FockStateRule::WrapperRule > rules) const
 
FockStateMap::FockStateMap< BIT_REGISTER > * createFockStateMap (const FockStateRuleSet &rules) const
 
const HoppingAmplitudeSetgetHoppingAmplitudeSet () const
 

Constructor & Destructor Documentation

template<typename BIT_REGISTER>
TBTK::FockSpace< BIT_REGISTER >::FockSpace ( const HoppingAmplitudeSet hoppingAmplitudeSet,
Statistics  statistics,
unsigned int  maxParticlesPerState 
)

Constructor.

template<typename BIT_REGISTER >
TBTK::FockSpace< BIT_REGISTER >::~FockSpace ( )

Destructor.

Member Function Documentation

template<typename BIT_REGISTER >
FockStateMap::FockStateMap< BIT_REGISTER > * TBTK::FockSpace< BIT_REGISTER >::createFockStateMap ( int  numParticles) const

Create FockStateMap.

template<typename BIT_REGISTER >
FockStateMap::FockStateMap< BIT_REGISTER > * TBTK::FockSpace< BIT_REGISTER >::createFockStateMap ( const FockStateRule::FockStateRule rule) const

Create FockStateMap.

template<typename BIT_REGISTER >
FockStateMap::FockStateMap< BIT_REGISTER > * TBTK::FockSpace< BIT_REGISTER >::createFockStateMap ( std::initializer_list< const FockStateRule::WrapperRule rules) const

Create FockStateMap.

template<typename BIT_REGISTER >
FockStateMap::FockStateMap< BIT_REGISTER > * TBTK::FockSpace< BIT_REGISTER >::createFockStateMap ( std::vector< FockStateRule::WrapperRule rules) const

Create FockStateMap.

template<typename BIT_REGISTER >
FockStateMap::FockStateMap< BIT_REGISTER > * TBTK::FockSpace< BIT_REGISTER >::createFockStateMap ( const FockStateRuleSet rules) const

Create FockStateMap.

template<typename BIT_REGISTER >
const HoppingAmplitudeSet * TBTK::FockSpace< BIT_REGISTER >::getHoppingAmplitudeSet ( ) const

Get amplitude set.

template<typename BIT_REGISTER >
unsigned int TBTK::FockSpace< BIT_REGISTER >::getNumFermions ( const FockState< BIT_REGISTER > &  fockState) const

Returns the number of fermions in the state.

template<typename BIT_REGISTER >
unsigned int TBTK::FockSpace< BIT_REGISTER >::getNumParticles ( const FockState< BIT_REGISTER > &  fockState,
const Index index 
) const

Get number of particles in the single particle state with given index for the given FockState.

template<typename BIT_REGISTER >
LadderOperator< BIT_REGISTER > ** TBTK::FockSpace< BIT_REGISTER >::getOperators ( ) const

Get operators.

template<typename BIT_REGISTER >
unsigned int TBTK::FockSpace< BIT_REGISTER >::getSumParticles ( const FockState< BIT_REGISTER > &  fockState,
const Index pattern 
) const

Get number of particles in the single particle states that satisfies the given index pattern for the given FockState.

template<typename BIT_REGISTER >
FockState< BIT_REGISTER > TBTK::FockSpace< BIT_REGISTER >::getVacuumState ( ) const

Get the vacuum state.


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