Computational Quantum Matter
Computational quantum matter connects models of electrons, spins and lattices to quantities such as energies, correlations and spectra. A useful calculation answers a specific physical question and shows how its answer changes when numerical settings or physical approximations change. This chapter introduces three materials calculations: band structure, Wannier interpolation and dynamical mean-field theory (DMFT).
Required background. Choosing a Model explains how to select degrees of freedom, energy scales and approximations. Here you will use those choices to decide what to calculate.
Helpful background. Convergence Tests explains refinement and extrapolation. How Quantum Matter Is Measured helps connect a calculated quantity with an experimental signal.
Choose a starting calculation
Section titled “Choose a starting calculation”Start with the quantity you want to understand. For example, “Does this Hamiltonian have an insulating band filling?” is more precise than “Calculate the bands.” It specifies a question that needs the occupied and empty states throughout the Brillouin zone, not just a visually attractive path plot.
| Your question | Start here | What you will learn to check |
|---|---|---|
| Bands of a crystal | Band Structure Workflows | Structure, basis, mesh and band interpretation. |
| A compact orbital model | Wannierization Workflows | Energy windows, interpolation and operators. |
| Local dynamical correlations | DMFT for Quantum Materials | Correlated orbitals, interactions, impurity solutions and spectra. |
These are starting points for different questions, not a compulsory three-step sequence. A tight-binding model can be studied without a preceding density-functional calculation. Wannier functions can provide a compact basis and efficient interpolation (Marzari et al., 2012), but changing representation does not by itself add missing interactions. Material DMFT introduces a frequency-dependent local self-energy; its treatment of local correlations does not make spatial correlations exact (Kotliar et al., 2006).
For a spin model or interacting lattice Hamiltonian, use Computational Many-Body QM to compare exact diagonalization, Monte Carlo and tensor networks. The useful method depends on dimension, temperature, entanglement, sign structure and the observable. The name of a method alone does not establish its accuracy in a new regime.
Separate the physical quantity from the numerical output
Section titled “Separate the physical quantity from the numerical output”An eigenvalue, an expectation value and a measured intensity answer different questions. A Kohn–Sham eigenvalue belongs to an auxiliary one-electron problem. An electron-addition or electron-removal spectrum describes excitations of an interacting system. Photoemission adds transition matrix elements, occupation factors and instrumental resolution. A resemblance between two curves is useful, but their relationship must come from the physics of the measurement. See Spectral Functions and Angle-Resolved Photoemission.
Likewise, a finite cluster has a discrete spectrum; a bulk material may have a continuum. A terminal conductance includes leads and contacts; a bulk conductivity describes a different geometry. Transport, Response, and Optics explains which response and limits fit each experiment.
Before a long run, write down the system, state and target quantity in ordinary physical terms. For example: “Find the zero-temperature ground-state energy per site of this spin chain, and extrapolate its length dependence.” This immediately suggests checks of the ground-state search, finite-size dependence and energy normalization. It also tells you what the result will not yet answer, such as the finite-temperature susceptibility.
Numerical convergence and physical accuracy
Section titled “Numerical convergence and physical accuracy”Three questions help interpret a computed number:
- Was the finite problem solved accurately? Tighten the eigensolver or self-consistency tolerance; check residuals, normalization and symmetries.
- Does the finite problem approximate the intended model? Enlarge the basis or system, refine the mesh, or reduce the time step. Check the actual observable of interest, since different quantities converge at different rates.
- Is that model adequate for the physical question? Test the relevant interactions, magnetic states, temperature, disorder and other assumptions.
A smaller solver tolerance addresses the first question. It cannot repair an omitted orbital, a small simulation cell or an unsuitable interaction model. Agreement between independent codes is valuable for finding implementation errors. The DFT comparison by Lejaeghere et al. (2016), for example, compared equations of state computed using the same exchange-correlation approximation; such agreement does not remove the approximation’s physical limitations.
For a scalar observable, this distinction can be written as
Here is the exact answer to the chosen finite approximation, and is its computed estimate. The terms represent physical-model, finite-representation and numerical-solution discrepancies. The identity separates these sources of disagreement without supplying their sizes or distributions. The terms need not be independent random errors. Add variances in quadrature only when their covariance can be neglected for a justified reason.
Refine controls separately before combining them. For instance, converge a momentum mesh at several basis cutoffs; two simultaneous changes can accidentally cancel. A stable total energy also need not imply stable small energy differences, forces or response functions. Conditioning and Stability explains why sensitive quantities may need tighter control.
A perfectly solved matrix can omit an important orbital
Section titled “A perfectly solved matrix can omit an important orbital”Consider two orthonormal orbitals with the real symmetric Hamiltonian
The coupling mixes the lower bare orbital with an orbital at energy . If you retain only the first orbital and simply project , the matrix is . Its energy is exactly zero: no increase in arithmetic precision or solver iterations can change that answer.
The two-orbital ground energy is instead
For , the omitted orbital lowers the energy by approximately , so . With and , the full result is ; the second-order estimate is . Both differ substantially from the projected answer zero. This example separates a basis omission from an approximation to the effect of that omission.
The residual makes the distinction precise. For a normalized approximate eigenvector , define
The vector with energy zero has residual zero in the projected one-orbital problem, but residual in the full problem. Always state which Hamiltonian the residual tests. For a finite Hermitian , the spectral theorem gives
This bounds the distance to some eigenvalue of that matrix. It does not identify the ground state: an exact excited eigenvector also has zero residual. Eigenvector accuracy additionally depends on separation from other eigenvalues; near degeneracy, a subspace may be better determined than a particular vector. See Higham (2002) for numerical error analysis.
Interpreting statistical and self-consistent calculations
Section titled “Interpreting statistical and self-consistent calculations”Monte Carlo samples are usually correlated. After equilibration, let be the normalized autocorrelation of the measured observable at lag and set
For a stationary record of samples with finite variance and summable correlations, the large- variance of its mean is approximately
Thus correlated measurements can still give the correct mean, but counting them as independent understates uncertainty when correlations are positive. The correlation time depends on the observable. Long runs and binning checks are needed to resolve slow modes (Sandvik, 2010); a sign-reweighted ratio also requires the numerator–denominator covariance. More samples do not correct a chain trapped in the wrong part of its state space.
Self-consistency has another limitation. A small value of means that an iterate nearly solves the chosen fixed-point equation. It does not establish uniqueness, physical stability or convergence of every other approximation. Try different initial states and compare the appropriate thermodynamic potentials when they are available. Similarly, tensor-network discarded weight is a useful truncation diagnostic, not a universal bound on every observable’s error.
When comparing with data, preserve enough information to repeat the calculation: the model parameters and input structure, code version and numerical settings, sampling data when relevant, and the script that produces the plotted quantity. This lets a surprising feature be checked without reconstructing the entire calculation from a figure. Labs provides computational investigations; Data Interpretation and Pitfalls discusses competing physical explanations.
Exercises
Section titled “Exercises”1. Recover the effect of the second orbital
Section titled “1. Recover the effect of the second orbital”For the two-orbital example, eliminate the second component of an eigenvector. Derive an energy-dependent equation for the first component. How does the second-order energy estimate follow?
Solution
Writing the vector as , the second row gives when . Substituting into the first row gives
The low-energy root is . For , its magnitude is much smaller than , so replacing by gives . Simply deleting the second orbital omits this correction. For and , the second-order answer differs from the exact answer by about .
2. Diagnose apparent convergence
Section titled “2. Diagnose apparent convergence”A dimensionless illustrative estimate depends on a mesh spacing and a positive basis parameter as . A sequence uses for and always returns . Does this establish control of both errors? What additional runs would help?
Solution
The two finite errors cancel on that sequence. The limiting value happens to be correct, but the sequence alone does not reveal either contribution. Hold and use : the estimates are . Hold and use : they are . Independent refinement exposes the two error directions. In a real calculation the error formula is usually unknown, which makes these separate checks more useful than the apparent agreement on one sequence.
3. Count effective samples
Section titled “3. Count effective samples”A stationary record has samples and in the convention above. Estimate its effective independent sample count and the factor by which an independence assumption underestimates the standard error. Name one condition that would invalidate the estimate.
Solution
The standard error is larger by . This assumes the record is long enough to resolve the relevant correlations and the chain samples the desired stationary distribution. An unresolved slow transition, an unequilibrated chain or a ratio estimator treated without its covariance can invalidate it.
4. Separate a band separation from an insulating gap
Section titled “4. Separate a band separation from an insulating gap”Consider a one-dimensional two-band model , with and dimensionless . At filling one spinless electron per cell, is a positive same-momentum separation sufficient for a band insulator? Evaluate the indirect gap when .
Solution
The bottom of the upper band is and the top of the lower band is . Their difference is
For it is : the bands overlap in energy, despite being separated at each momentum. The lowest-energy filling occupies parts of both bands, so the model is not a band insulator. A positive indirect gap requires . This is a statement about the specified noninteracting model; connecting a Kohn–Sham calculation to an excitation gap requires further physical reasoning, as discussed in Band Structure Workflows.
References
Section titled “References”- N. J. Higham, Accuracy and Stability of Numerical Algorithms, 2nd ed., SIAM, 2002.
- G. Kotliar, S. Y. Savrasov, K. Haule, V. S. Oudovenko, O. Parcollet, and C. A. Marianetti, “Electronic Structure Calculations with Dynamical Mean-Field Theory,” Reviews of Modern Physics 78, 865–951 (2006), doi:10.1103/RevModPhys.78.865.
- K. Lejaeghere et al., “Reproducibility in Density Functional Theory Calculations of Solids,” Science 351, aad3000 (2016), doi:10.1126/science.aad3000.
- N. Marzari, A. A. Mostofi, J. R. Yates, I. Souza, and D. Vanderbilt, “Maximally Localized Wannier Functions: Theory and Applications,” Reviews of Modern Physics 84, 1419–1475 (2012), doi:10.1103/RevModPhys.84.1419.
- A. W. Sandvik, “Computational Studies of Quantum Spin Systems,” AIP Conference Proceedings 1297, 135–338 (2010), doi:10.1063/1.3518900, author’s notes.