Class : TrappedBosons
TrappedBosons :
prototype: TrappedBosons (int , int totalLz )
description:basic constructor
input parameters:
nbrBosons = number of bosons
totalLz = momentum total value
TrappedBosons :
prototype: TrappedBosons (const TrappedBosons& bosons )
description:copy constructor (without duplicating datas)
input parameters:
bosons = reference on the hilbert space to copy to copy
~TrappedBosons :
prototype: ~TrappedBosons ()
description:destructor
operator = :
prototype: TrappedBosons& operator = (const TrappedBosons& 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
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& coefficient )
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
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.