TBTK
TBTK::FockStateMap::LookupTableMap< BIT_REGISTER > Class Template Reference
Inheritance diagram for TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >:
TBTK::FockStateMap::FockStateMap< BIT_REGISTER >

Public Member Functions

 LookupTableMap (unsigned int exponentialDimension)
 
virtual ~LookupTableMap ()
 
virtual unsigned int getBasisSize () const
 
virtual unsigned int getBasisIndex (const FockState< BIT_REGISTER > &fockState) const
 
virtual FockState< BIT_REGISTER > getFockState (unsigned int index) const
 
void addState (const FockState< BIT_REGISTER > &fockState)
 
- Public Member Functions inherited from TBTK::FockStateMap::FockStateMap< BIT_REGISTER >
 FockStateMap (unsigned int exponentialDimension)
 
virtual ~FockStateMap ()
 
unsigned int getExponentialDimension () const
 

Constructor & Destructor Documentation

template<typename BIT_REGISTER >
TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >::LookupTableMap ( unsigned int  exponentialDimension)

Constructor.

template<typename BIT_REGISTER >
TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >::~LookupTableMap ( )
virtual

Destructor.

Member Function Documentation

template<typename BIT_REGISTER >
void TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >::addState ( const FockState< BIT_REGISTER > &  fockState)

Add state.

template<typename BIT_REGISTER >
unsigned int TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >::getBasisIndex ( const FockState< BIT_REGISTER > &  fockState) const
virtual

Get many-body Hilbert space index for corresponding FockState.

Implements TBTK::FockStateMap::FockStateMap< BIT_REGISTER >.

template<typename BIT_REGISTER >
unsigned int TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >::getBasisSize ( ) const
virtual

Get many-body Hilbert space size.

Implements TBTK::FockStateMap::FockStateMap< BIT_REGISTER >.

template<typename BIT_REGISTER >
FockState< BIT_REGISTER > TBTK::FockStateMap::LookupTableMap< BIT_REGISTER >::getFockState ( unsigned int  index) const
virtual

Get FockState for corresponding many-body Hilbert space index.

Implements TBTK::FockStateMap::FockStateMap< BIT_REGISTER >.


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