Green-Function Numerics
A numerical Green function is often a selected matrix element of a resolvent rather than an entire inverse matrix. Its broadening, pole structure, and spectral sum rules provide strong checks. This page treats the computational resolvent; many-body Green functions explains the operator and ensemble definitions.
Helpful background. Sparse Hamiltonians supplies matrix action; correlations supplies operator-applied source vectors.
Retarded resolvent by linear solves
Section titled “Retarded resolvent by linear solves”For Hermitian , let with and define
To obtain , solve and contract . This avoids an unnecessary dense inverse. Check the relative residual .
The spectral representation is
Its imaginary part is nonpositive. Consequently
is nonnegative and integrates to over the full energy axis. A finite integration interval misses Lorentzian tails and must be included in the sum-rule error budget.
There is also a local, frequency-by-frequency identity:
It follows from for Hermitian . Compare the two sides using the solved vector; this checks the retarded sign and conjugation without a frequency integral. For unequal source and test vectors, the imaginary part of need not have a definite sign.
If eigenvalues are available, the expected weight in a finite interval is known exactly:
This distinguishes frequency-quadrature error from deliberately excluded tails. Comparing a short-window integral only with the full norm incorrectly attributes the latter to the solver.
Lanczos continued fraction
Section titled “Lanczos continued fraction”Normalize and Lanczos-tridiagonalize with diagonal and off-diagonal . Then the projected resolvent is
Evaluate the finite continued fraction from the bottom upward. It is the element of the tridiagonal resolvent, obtainable by successive Schur complements.
For , return the zero matrix element without normalizing. In exact arithmetic, an -step Lanczos projection matches the source moments through , provided the process has not already terminated on an invariant Krylov subspace. Testing these low moments is more informative than comparing only one resolvent value. Truncating the fraction defines a finite projected model; appending a bath or continuum terminator introduces an additional modeling assumption.
The source norm carries total spectral weight. Loss of Lanczos orthogonality can introduce duplicated or distorted poles; compare with explicit diagonalization on small matrices and monitor moments. Increasing Krylov dimension and reducing are distinct refinements.
Two-site spectral benchmark
Section titled “Two-site spectral benchmark”For and ,
There are equal-weight poles at . Lanczos terminates after two vectors and reproduces this expression exactly up to arithmetic. Test the linear solve, spectral sum, and continued fraction against it.
At the spectrum becomes a single Lorentzian of unit weight. If the sign of is reversed, the spectral density becomes negative; this is a useful retarded-versus-advanced check.
Broadening and conditioning
Section titled “Broadening and conditioning”For Hermitian , . As shrinks, poles sharpen and the solve becomes more sensitive near eigenvalues. A residual bound converts to an absolute solution-error bound of at most ; a small residual at coarse broadening does not certify a much smaller .
For a selected matrix element, the corresponding absolute error is bounded by . This can set a solve tolerance from the required observable accuracy, although it may be conservative far from poles. Neither positivity nor a small residual eliminates the separate broadening and finite-size errors.
In a finite closed system is a numerical resolution parameter unless a physical lifetime has been derived. For a continuum limit, increase system size sufficiently that the level spacing is smaller than the intended resolution before reducing broadening. Reversing the order exposes isolated finite-size poles.
For many-body particle addition and removal, the relevant Hamiltonians act in neighboring particle-number sectors and energy shifts involve the reference state. A single-particle resolvent of a many-body matrix is not automatically the physical fermion Green function.
Exercise
Section titled “Exercise”Derive the first two large- terms and explain their use as checks.
Solution
, so . These coefficients test spectral normalization and the first energy moment independently of detailed peak shapes.
References
Section titled “References”- Haydock, R., Heine, V., and Kelly, M. J., “Electronic structure based on the local atomic environment for tight-binding bands,” Journal of Physics C 5, 2845–2858 (1972), doi:10.1088/0022-3719/5/20/004.
- Weiße, A., Wellein, G., Alvermann, A., and Fehske, H., “The kernel polynomial method,” Reviews of Modern Physics 78, 275–306 (2006), arXiv:cond-mat/0504627.