LanczosGroundState
full name: tenpy.linalg.krylov_based.LanczosGroundState
parent module:
tenpy.linalg.krylov_based
type: class
Inheritance Diagram
Methods
|
|
|
|
|
|
Find the ground state of H. |
- class tenpy.linalg.krylov_based.LanczosGroundState(H, psi0, options)[source]
Bases:
KrylovBased
Lanczos algorithm to find the ground state.
Assumes that H is hermitian.
Options
- config LanczosGroundState
option summary cutoff (from KrylovBased) in KrylovBased
Cutoff to abort if the norm of the new krylov vector is too small. [...]
E_shift (from KrylovBased) in KrylovBased
Shift the energy (=eigenvalues) by that amount *during* the Lanczos run by [...]
Stop if energy difference per step < `E_tol`
min_gap (from KrylovBased) in KrylovBased
Lower cutoff for the gap estimate used in the P_tol criterion.
The maximum number of `psi` to keep in memory during the first iteration. [...]
N_max (from KrylovBased) in KrylovBased
Maximum number of steps to perform.
N_min (from KrylovBased) in KrylovBased
Minimum number of steps to perform.
P_tol (from KrylovBased) in KrylovBased
Tolerance for the error estimate from the Ritz Residual, [...]
reortho (from KrylovBased) in KrylovBased
For poorly conditioned matrices, one can quickly loose orthogonality of the [...]
- option E_tol: float
Stop if energy difference per step < E_tol
- option N_cache: int
The maximum number of psi to keep in memory during the first iteration. By default, we keep all states (up to N_max). Set this to a number >= 2 if you are short on memory. The penalty is that one needs another Lanczos iteration to determine the ground state in the end, i.e., runtime is large.