Class : Fermions
Fermions :
prototype: Fermions ()
description:default constructor
Fermions :
prototype: Fermions (int , int memorySize )
description:constructor for complete Hilbert space with no restriction on total spin projection Sz nor on
total number of fermions
input parameters:
nbrSite = number of site
memorySize = memory size in bytes allowed for look-up table
Fermions :
prototype: Fermions (int , int , int , int memorySize )
description:constructor for complete Hilbert space corresponding to a given total spin projection Sz and a
given number of fermions
input parameters:
nbrSite = number of site
n = number of fermions
sz = twice the value of total Sz component
memorySize = memory size in bytes allowed for look-up table
Fermions :
prototype: Fermions (const Fermions& fermions )
description:copy constructor (without duplicating datas)
input parameters:
fermions = reference on fermions to copy
~Fermions :
prototype: ~Fermions ()
description:destructor
operator = :
prototype: Fermions& operator = (const Fermions& fermions )
description:assignement (without duplicating datas)
input parameters:
fermions = reference on fermions to copy
return value: reference on current fermions
Clone :
prototype: AbstractHilbertSpace* Clone ()
description:clone Hilbert space (without duplicating datas)
input parameters:
return value: pointer to cloned Hilbert space
GetHilbertSpaceDimension :
prototype: int GetHilbertSpaceDimension ()
description:return Hilbert space dimension
input parameters:
return value: Hilbert space dimension
GetQuantumNumbers :
prototype: List GetQuantumNumbers ()
description:return a list of all possible quantum numbers
input parameters:
return value: pointer to corresponding quantum number
GetQuantumNumber :
prototype: AbstractQuantumNumber* GetQuantumNumber (int index )
description:return quantum number associated to a given state
input parameters:
index = index of the state
return value: pointer to corresponding quantum number
TotalSz :
prototype: int TotalSz (int index )
description:
return value: return value of spin projection on (Oz) for a given state
input parameters:
index = index of the state to test
return value: spin projection on (Oz)
GetNumberParticle :
prototype: int GetNumberParticle (int index )
description:get number of particles for a given state
input parameters:
index = index of the state to test
return value: number of particles
ExtractSubspace :
prototype: AbstractHilbertSpace* ExtractSubspace (AbstractQuantumNumber& , SubspaceSpaceConverter& converter )
description:extract subspace with a fixed quantum number
input parameters:
q = quantum number value
converter = reference on subspace-space converter to use
return value: pointer to the new subspace
FindStateIndex :
prototype: int FindStateIndex (unsigned long state )
description:find state index
input parameters:
state = state description
return value: corresponding index
PrintState :
prototype: ostream& PrintState (ostream& , int state )
description:print a given State
input parameters:
Str = reference on current output stream
state = ID of the state to print
return value: reference on current output stream
Back to index.