The Kohn-Sham equations are a system of Schrödinger-like equations that replace the intractable many-electron problem with an auxiliary system of non-interacting electrons moving in an effective potential. This effective potential includes the external nuclear potential, the classical Coulomb repulsion, and the exchange-correlation functional, which encapsulates all complex quantum many-body effects. By solving these equations self-consistently, one obtains the exact ground-state electron density and energy of a real, interacting system.
Glossary
Kohn-Sham Equations

What is Kohn-Sham Equations?
A set of single-particle equations within Density Functional Theory that map the interacting many-body problem onto a system of non-interacting electrons, forming the practical foundation of modern quantum chemistry.
The practical power of the Kohn-Sham formalism lies in transforming Density Functional Theory from a formal existence proof into a computationally tractable method. The equations are solved iteratively via a self-consistent field (SCF) cycle, where an initial guess of the electron density is used to construct the effective potential, which is then used to solve for new orbitals and a new density until convergence. The accuracy of a Kohn-Sham calculation is limited only by the approximation used for the unknown exchange-correlation functional, making it the central object of development in modern quantum chemistry and the primary source of reference data for training neural network potentials.
Key Characteristics of the Kohn-Sham Equations
The Kohn-Sham equations are the practical workhorse of Density Functional Theory, transforming an intractable many-body problem into a solvable system of non-interacting particles. The following cards break down the core conceptual pillars that make this framework indispensable for modern quantum chemistry.
The Non-Interacting Reference System
The foundational insight of Kohn-Sham theory is mapping the real, interacting many-electron system onto a fictitious system of non-interacting electrons that yields the exact same ground-state electron density. This avoids the direct calculation of the complex many-body wavefunction, which scales factorially with system size. The non-interacting electrons occupy Kohn-Sham orbitals, and their kinetic energy is calculated exactly, with all remaining quantum complexity folded into the exchange-correlation functional.
The Exchange-Correlation Functional
This is the sole source of approximation in the Kohn-Sham framework. The exchange-correlation (XC) functional encapsulates all the non-classical electron-electron interactions: exchange (due to Pauli exclusion) and correlation (due to Coulombic avoidance). The exact form is unknown, leading to a 'Jacob's Ladder' of approximations:
- LDA: Based on the uniform electron gas.
- GGA: Includes the gradient of the density (e.g., PBE).
- Meta-GGA: Includes kinetic energy density (e.g., SCAN).
- Hybrids: Mix in exact Hartree-Fock exchange (e.g., B3LYP).
Self-Consistent Field (SCF) Iteration
The Kohn-Sham equations are solved iteratively because the effective potential depends on the electron density, which itself is calculated from the orbitals. The Self-Consistent Field (SCF) procedure begins with an initial guess for the density, constructs the Hamiltonian, solves for new orbitals, computes a new density, and repeats until the input and output densities converge below a defined threshold. This cycle is the primary computational bottleneck in DFT calculations.
The Effective Potential
Each non-interacting electron feels a single, local effective potential (v_eff) rather than instantaneous interactions with other individual electrons. This potential is composed of three terms:
- External Potential (v_ext): The Coulomb attraction to the nuclei.
- Hartree Potential (v_H): The classical electrostatic repulsion from the total electron density cloud.
- Exchange-Correlation Potential (v_xc): The functional derivative of the XC energy, capturing all quantum corrections to the Hartree term.
Hohenberg-Kohn Theorems
The rigorous theoretical bedrock upon which the Kohn-Sham equations stand. The first Hohenberg-Kohn theorem proves that the ground-state electron density uniquely determines the external potential and thus all properties of the system. The second theorem establishes a variational principle for the energy as a functional of the density, guaranteeing that minimizing the energy functional yields the true ground-state density. These theorems legitimize the use of density as the central variable.
Computational Scaling
A key practical advantage is the formal scaling of O(N³) with system size, where N is the number of basis functions, driven by matrix diagonalization. This is dramatically cheaper than wavefunction methods like Coupled Cluster. In practice, linear-scaling or O(N) methods exploit the 'nearsightedness' of electronic matter to achieve near-linear scaling for large systems, enabling calculations on thousands of atoms, bridging the gap to classical molecular dynamics length scales.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the Kohn-Sham formalism, its computational implementation, and its role in modern quantum chemistry and machine learning.
The Kohn-Sham equations are a set of single-particle Schrödinger-like equations that map the intractable interacting many-body problem onto an auxiliary system of non-interacting electrons moving in an effective potential. This formalism, introduced by Walter Kohn and Lu Jeu Sham in 1965, is the practical foundation of modern Density Functional Theory (DFT). The equations are solved iteratively through a Self-Consistent Field (SCF) cycle: an initial guess of the electron density constructs the effective potential, the equations are solved to yield Kohn-Sham orbitals, a new density is computed, and the process repeats until the input and output densities converge. The genius of the approach is that the ground-state density of the non-interacting system is, by construction, identical to that of the real interacting system, while the kinetic energy is treated exactly for the non-interacting reference.
Related Terms
Mastering the Kohn-Sham equations requires understanding the core components of Density Functional Theory and the computational machinery that makes it practical.
Exchange-Correlation Functional
The only unknown term in the Kohn-Sham formalism. This functional approximates the complex quantum mechanical exchange and correlation energy of electrons. The accuracy of a DFT calculation is entirely dependent on the quality of this approximation.
- LDA: Local Density Approximation, depends only on local electron density.
- GGA: Generalized Gradient Approximation, includes the density gradient.
- Hybrids: Mix in a fraction of exact Hartree-Fock exchange (e.g., B3LYP).
Self-Consistent Field (SCF) Cycle
The iterative algorithm used to solve the Kohn-Sham equations. Since the effective potential depends on the electron density, which itself depends on the orbitals, the solution must be found iteratively.
- Guess: Start with an initial trial density.
- Construct: Build the Kohn-Sham Hamiltonian.
- Diagonalize: Solve for new orbitals and energies.
- Mix: Combine old and new densities to ensure stability.
- Converge: Repeat until the input and output densities are consistent.
Basis Set
A set of mathematical functions used to represent the Kohn-Sham orbitals. The choice of basis set represents a trade-off between computational cost and accuracy.
- Plane Waves: Natural for periodic solids, used with pseudopotentials.
- Gaussian-Type Orbitals (GTOs): Dominant in quantum chemistry for molecules.
- Numerical Atomic Orbitals (NAOs): Highly efficient, used in codes like FHI-aims.
- Augmented Methods: APW+lo/LAPW, the 'gold standard' for solids.
Pseudopotential Approximation
Replaces the strong Coulomb potential of the nucleus and the chemically inert core electrons with a weaker, smooth effective potential. This dramatically reduces the number of basis functions needed.
- Frozen Core: Assumes core electrons do not participate in bonding.
- Valence Only: Only the chemically active valence electrons are treated explicitly.
- PAW: The Projector Augmented Wave method reconstructs the true all-electron wavefunction, combining the efficiency of pseudopotentials with the accuracy of all-electron methods.
Auxiliary Density (Density Fitting)
A computational technique to accelerate the calculation of the Coulomb and exchange-correlation contributions in the Kohn-Sham scheme. The electron density is expanded in an auxiliary basis set.
- RI-J: Resolution of Identity for the Coulomb term, reduces the four-center two-electron integrals to three-center ones.
- RI-JK: Extends the approximation to the exchange term, crucial for hybrid functionals.
- Speedup: Can reduce computational cost by an order of magnitude with negligible loss in accuracy.
Time-Dependent DFT (TD-DFT)
The time-dependent extension of the Kohn-Sham framework for calculating excited-state properties. Applies a time-dependent external electric field to probe the linear response of the electron density.
- Linear Response: Calculates excitation energies and oscillator strengths for UV/Vis spectra.
- Casida's Equation: The standard matrix formulation for solving the TD-DFT eigenvalue problem.
- Real-Time Propagation: An alternative approach that explicitly propagates the density in time, useful for strong fields and non-linear optics.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us