Class : BosonOnTwoSpheres

class deriving from ParticleOnTwoSpheres

BosonOnTwoSpheres :

prototype: BosonOnTwoSpheres (int , int , int totalLz )

description:basic constructor


input parameters:
nbrBosons = number of bosons
lzMax = maximum Lz value reached by a boson
totalLz = momentum total value



BosonOnTwoSpheres :

prototype: BosonOnTwoSpheres (const BosonOnTwoSpheres& bosons )

description:copy constructor (without duplicating datas)


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



~BosonOnTwoSpheres :

prototype: ~BosonOnTwoSpheres ()

description:destructor



operator = :

prototype: BosonOnTwoSpheres& operator = (const BosonOnTwoSpheres& 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



AdAdAAFirstSphere :

prototype: int AdAdAAFirstSphere (int , int , int , int , int , double& coefficient )

description:apply a^+_m1 a^+_m2 a_n1 a_n2 operator for the first sphere 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


return value: index of the destination state



AdAdAASecondSphere :

prototype: int AdAdAASecondSphere (int , int , int , int , int , double& coefficient )

description:apply a^+_m1 a^+_m2 a_n1 a_n2 operator for the second second sphere 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


return value: index of the destination state



AdA :

prototype: double AdA (int , int m )

description:apply a^+_m a_m operator to a given state


input parameters:
index = index of the state on which the operator has to be applied
m = index of the creation and annihilation operator


return value: coefficient obtained when applying a^+_m a_m



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.