Density functional theory (DFT)

Theory track

In plain words

The workhorse calculation of materials physics. Rather than following every electron, it works with the electron density and a recipe for how electrons avoid one another – which makes a whole crystal cheap enough to compute, and makes the accuracy depend entirely on that recipe.

Going deeper

Left: a flowchart of the self-consistent loop – guess a density, build the potential including exchange–correlation, solve the Kohn–Sham equations, form a new density, and repeat until it no longer changes, then output energies, forces and band structures. Right: a 2D layer inside a periodic simulation cell, repeated above and below with vacuum of at least 15 to 20 ångström between copies. the self-consistent loop 1 guess a density n(r) e.g. overlapping atoms 2 build the potential nuclei + electrostatic + exchange–correlation ≈ 3 solve Kohn–Sham one-electron equations for orbitals ψᵢ 4 new density n = Σ |ψᵢ|² (occupied) same? no: mix, repeat yes energies, forces, structures, phonons, band structure (band gaps from semi-local functionals are too small) a 2D layer in a periodic code vacuum ≥ 15–20 Å cell image image
Left: a DFT calculation is a loop. From a guessed electron density it builds a potential, solves one-electron equations, and forms a new density, repeating until nothing changes. Everything approximate is hidden in the exchange–correlation part. Right: codes that assume periodic crystals see a monolayer as an infinite stack of copies, so enough vacuum must separate them that they stop interacting.

Trading electrons for a density

Solving the quantum mechanics of every electron in a crystal exactly is hopeless: the effort grows exponentially with their number. Density functional theory rests on two results. Hohenberg and Kohn showed that the ground-state electron density alone – a function of just three coordinates – determines every ground-state property. Kohn and Sham then showed how to find that density by solving equations for independent electrons moving in an effective potential, which is tractable for hundreds or thousands of atoms.

The catch is a single unknown term, the exchange–correlation energy, which contains all the subtle many-electron physics. It has to be approximated. Local and semi-local functionals (LDA, GGA such as PBE) are fast and give good structures and vibrations; hybrid functionals, which mix in some exact exchange, are more accurate for many properties and far more expensive.

What it is good for, and what it is not

DFT is the standard tool for , formation energies, relative phase stability, , magnetic ground states and , and for screening many hypothetical materials quickly. Its best-known failure is the : the Kohn–Sham eigenvalues are not true excitation energies, and semi-local functionals typically underestimate gaps by tens of percent. are absent altogether. When quantitative gaps or optical spectra matter, DFT is the starting point for and Bethe–Salpeter calculations rather than the answer.

Traps specific to 2D materials

Most codes treat the simulation cell as the repeating unit of an infinite crystal, so a is really a stack of copies separated by vacuum. That vacuum has to be thick enough – often 15–20 Å, and far more for charged or excited-state calculations – or a must be applied. A layer without needs a dipole correction. Interlayer binding in bilayers and bulk crystals comes almost entirely from , which standard functionals miss, so a dispersion correction is required. must be switched on for heavy elements, and magnetic usually need an on-site U whose value changes and noticeably.

For specialists

Ground-state electronic structure from the density, exact in principle by Hohenberg–Kohn and made practical by the Kohn–Sham equations with an approximate exchange–correlation functional. Two dimensions need care: a vacuum gap wide enough that periodic images stop interacting or a truncated Coulomb interaction, a dispersion correction for interlayer binding, and the knowledge that semi-local functionals underestimate gaps – hybrid functionals narrow that error at far higher cost, and quantitative gaps and optical spectra need GW and Bethe–Salpeter on top.

Where this comes from

  1. Inhomogeneous electron gas Hohenberg and Kohn · Physical Review 136, B864 (1964) cited by 53,624
  2. Self-consistent equations including exchange and correlation effects Kohn and Sham · Physical Review 140, A1133 (1965) cited by 64,435