Lanczos Algorithm
The Lanczos algorithm compresses a Hermitian Hamiltonian into a small tridiagonal matrix whose extremal eigenpairs often converge rapidly. It uses Hamiltonian–vector products rather than all matrix entries. Its elegant three-term recurrence is exact-arithmetic structure; reliable floating-point implementations must also manage the orthogonality that roundoff erodes.
Helpful background. Sparse eigensolvers explains target selection and original-problem residuals.
The Hermitian Krylov recurrence
Section titled “The Hermitian Krylov recurrence”For a starting vector , Lanczos constructs an orthonormal basis of
Every vector in this space is for a polynomial of degree below . If in energy eigenvectors, then : the polynomial changes the weights of existing spectral components but cannot create one with . The projected eigenproblem is a Rayleigh–Ritz calculation; its variational interpretation depends on the target and trial space.
Start with a normalized vector , set and , and form
Hermiticity makes real. In exact arithmetic, is orthogonal to every with : move to the other side of the inner product and use the preceding recurrence. This proves the three-term form by induction. For ,
where has diagonal and adjacent diagonals . Its eigenpair gives the Ritz vector and, for orthonormal ,
This inexpensive estimate permits frequent convergence checks. Before accepting a result, explicitly evaluate to detect accumulated recurrence or orthogonality error.
Breakdown, ghosts, and restarts
Section titled “Breakdown, ghosts, and restarts”If in exact arithmetic, the current Krylov space is invariant: the iteration has exhausted the spectral components present in the start vector. This is a successful termination, not a reason to divide by an arbitrary small number. Near-breakdown needs a numerical tolerance based on the operator scale.
Once a Ritz vector converges, floating-point noise can reintroduce its direction into later vectors. The tridiagonal matrix may then contain repeated copies of one eigenvalue, often called ghosts. Check and use full, selective, or partial reorthogonalization appropriate to the implementation. Reorthogonalizing twice can be necessary when a newly generated direction is almost dependent.
Full reorthogonalization costs roughly over steps and stores the basis. Restarted Lanczos retains wanted Ritz information while limiting ; retaining too few vectors near a cluster can stall convergence. One starting vector cannot recover multiple independent vectors in an exactly degenerate eigenspace: polynomial actions only scale its one component there. Block Lanczos or independent starts are needed to resolve multiplicity.
A three-level calculation
Section titled “A three-level calculation”Take and . Then
At two steps,
with Ritz values . They approach the spectral edges but are not eigenvalues of . The next coefficient is . Since each normalized eigenvector of has last-component magnitude , both residual norms are . Three independent steps recover the full spectrum and terminate.
The same projection also approximates by , connecting Lanczos to quadrature and spectral measures. Accuracy for an eigenvalue does not automatically certify a sharply resolved spectral function; its frequency resolution and broadening need their own convergence study.
The many-body Lanczos application uses this projection for symmetry-resolved states and continued-fraction response. Krylov time evolution applies the same subspace idea to with propagation-specific error checks.
Exercises
Section titled “Exercises”What happens in the example if the starting vector is ?
Solution
, so and . The one-dimensional invariant subspace contains only the middle eigenstate. Exact termination says nothing about the absent energies and .
Why does Hermiticity reduce Arnoldi’s upper-Hessenberg projection to a tridiagonal matrix in exact arithmetic? Does that remove the need to monitor orthogonality numerically?
Solution
Arnoldi’s projection has zero entries below its first subdiagonal. For Hermitian and orthonormal , the projection is also Hermitian. The conjugate entries above the first superdiagonal therefore vanish as well, leaving a tridiagonal matrix. Roundoff can destroy the basis orthogonality used in that argument, so practical Lanczos still needs Gram-matrix checks and an appropriate reorthogonalization or restart strategy.
References
Section titled “References”- Bai, Z., J. Demmel, J. Dongarra, A. Ruhe, and H. van der Vorst, eds., Templates for the Solution of Algebraic Eigenvalue Problems: A Practical Guide, SIAM, 2000, online text — reorthogonalization and restarted algorithms.
- Cullum, J. K., and R. A. Willoughby, Lanczos Algorithms for Large Symmetric Eigenvalue Computations, SIAM, 2002 — finite-precision Lanczos, spectral validation, and spurious repeated eigenvalues.
- Lanczos, C., “An iteration method for the solution of the eigenvalue problem of linear differential and integral operators,” Journal of Research of the National Bureau of Standards 45, 255–282 (1950), NIST historical source guide — original projection method.