Class : BosonOnTorusWithMagneticTranslations

class deriving from ParticleOnTorusWithMagneticTranslations

BosonOnTorusWithMagneticTranslations :

prototype: BosonOnTorusWithMagneticTranslations (int , int , int , int , unsigned long memory = 100000000 )

description:basic constructor


input parameters:
nbrBosons = number of bosons
maxMomentum = momentum maximum value for a boson
xMomentum = momentum in the x direction (modulo GCD of nbrBosons and maxMomentum)
yMomentum = momentum in the y direction (modulo GCD of nbrBosons and maxMomentum)
memory = amount of memory that can be used to allocate the look-up table (in bytes)



BosonOnTorusWithMagneticTranslations :

prototype: BosonOnTorusWithMagneticTranslations (const BosonOnTorusWithMagneticTranslations& bosons )

description:copy constructor (without duplicating datas)


input parameters:
bosons = reference on the hilbert space to copy to copy



~BosonOnTorusWithMagneticTranslations :

prototype: ~BosonOnTorusWithMagneticTranslations ()

description:destructor



operator = :

prototype: BosonOnTorusWithMagneticTranslations& operator = (const BosonOnTorusWithMagneticTranslations& bosons )

description:assignement (without duplicating datas)


input parameters:
bosons = reference on the hilbert space to copy to copy


return value: reference on current hilbert space



Clone :

prototype: AbstractHilbertSpace* Clone ()

description:clone Hilbert space (without duplicating datas)


input parameters:


return value: pointer to cloned Hilbert space



GetParticleStatistic :

prototype: int GetParticleStatistic ()

description:get the particle statistic


input parameters:


return value: particle statistic



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



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



AdAdAA :

prototype: int AdAdAA (int , int , int , int , int , double& , int& nbrTranslation )

description:apply a^+_m1 a^+_m2 a_n1 a_n2 operator to a given state (with m1+m2=n1+n2)


input parameters:
index = index of the state on which the operator has to be applied
m1 = first index for creation operator
m2 = second index for creation operator
n1 = first index for annihilation operator
n2 = second index for annihilation operator
coefficient = reference on the double where the multiplicative factor has to be stored
nbrTranslation = reference on the number of translations to applied to the resulting state to obtain the return orbit describing state


return value: index of the destination state



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.