TBTK
TBTK::FockState< BIT_REGISTER > Class Template Reference

Public Member Functions

 FockState (unsigned int exponentialDimension)
 
 FockState (const FockState &fockState)
 
 ~FockState ()
 
bool isNull () const
 
const BIT_REGISTER & getBitRegister () const
 
BIT_REGISTER & getBitRegister ()
 
int getPrefactor () const
 
void print () const
 

Friends

class FockSpace< BIT_REGISTER >
 
class LadderOperator< BIT_REGISTER >
 

Constructor & Destructor Documentation

◆ FockState() [1/2]

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

Constructor.

◆ FockState() [2/2]

template<typename BIT_REGISTER >
TBTK::FockState< BIT_REGISTER >::FockState ( const FockState< BIT_REGISTER > &  fockState)

Copy constructor.

◆ ~FockState()

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

Destructor.

Member Function Documentation

◆ getBitRegister() [1/2]

template<typename BIT_REGISTER >
const BIT_REGISTER & TBTK::FockState< BIT_REGISTER >::getBitRegister ( ) const

Returns the BIT_REGISTER.

◆ getBitRegister() [2/2]

template<typename BIT_REGISTER >
BIT_REGISTER & TBTK::FockState< BIT_REGISTER >::getBitRegister ( )

Returns the BIT_REGISTER.

◆ getPrefactor()

template<typename BIT_REGISTER >
int TBTK::FockState< BIT_REGISTER >::getPrefactor ( ) const

Get prefactor.

◆ isNull()

template<typename BIT_REGISTER >
bool TBTK::FockState< BIT_REGISTER >::isNull ( ) const

Returns true if the vector is the state is the null vector.

◆ print()

template<typename BIT_REGISTER >
void TBTK::FockState< BIT_REGISTER >::print ( ) const

Get number of particles. Print.

Friends And Related Function Documentation

◆ FockSpace< BIT_REGISTER >

template<typename BIT_REGISTER>
friend class FockSpace< BIT_REGISTER >
friend

Allow the FockSpace to immediatly access the internal storage.

◆ LadderOperator< BIT_REGISTER >

template<typename BIT_REGISTER>
friend class LadderOperator< BIT_REGISTER >
friend

Allow operators to operate immediately on the internal storage.


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