Class : FullInteractingDMRGAlgorithm
FullInteractingDMRGAlgorithm :
prototype: FullInteractingDMRGAlgorithm (AbstractHamiltonian* ,
AbstractHamiltonian* , AbstractInteraction* , AbstractInteraction* , AbstractLanczosAlgorithm* , int hilbertSpaceSize )
description:constructor from datas
input parameters:
blockHamiltonian = Hamiltonian associated to left and right blocks
interactionBlockHamiltonian = Hamiltonian associated to interaction blocks
leftInteraction = interaction between left block and left interaction block
rightInteraction = interaction between right block and right interaction block
lanczosAlgorithm = Lanczos algorithm to use
hilbertSpaceSize = number of states kept for a block
~FullInteractingDMRGAlgorithm :
prototype: ~FullInteractingDMRGAlgorithm ()
description:destructor
Constraint :
prototype: void Constraint (AbstractQuantumNumber* quantumNumber )
description:force constraint on global quantum number
input parameters:
quantumNumber = pointer to the global quantum number to use
RunDMRG :
prototype: void RunDMRG (int currentBlockIndex = 0 )
description:run DMRG algorithm
input parameters:
currentBlockIndex =
GetGroundStateEnergy :
prototype: double GetGroundStateEnergy ()
description:get ground state energy of the last iteration
input parameters:
return value: ground state energy
GetTruncationError :
prototype: double GetTruncationError ()
description:get truncation error from the last iteration
input parameters:
return value: truncation error
GetNbrLanczosIteration :
prototype: int GetNbrLanczosIteration ()
description:get number of Lanczos iterations needed during the last iteration
input parameters:
return value: number of Lanczos iterations
Back to index.