The Local Hamiltonian Problem
The Local Hamiltonian problem is the beating heart of quantum Hamiltonian complexity — the quantum computer's answer to the question that launched classical complexity theory. In 1971 Cook and Levin showed that Boolean satisfiability is NP-complete: a polynomial-time verifier checking a short classical certificate captures the full difficulty of the class NP. Kitaev asked the quantum version of exactly that question. Replace the classical certificate by a quantum state, the deterministic verifier by a polynomial-size quantum circuit, and the SAT formula by a sum of local energy penalties, and you get the Local Hamiltonian problem: given where each Hermitian term touches at most of qubits, decide whether the ground-state energy lies below a threshold or above a threshold . That single move — from bits to qubits, from clauses to energy penalties — turns a decision problem into a piece of physics. Each term is a soft constraint; a state pays expected energy , and the ground energy is the best trade-off any quantum state can strike among all the constraints at once — which is exactly the central task of quantum many-body physics, finding the lowest energy a system can occupy. Kitaev's theorem, the Quantum Cook–Levin theorem, says that estimating that energy to inverse-polynomial precision is as hard as the most general quantum verification, with the ground state itself as the optimal witness. The physics of Hamiltonians and the theory of quantum proofs turn out to be one subject.
- The -local Hamiltonian problem asks, given with each term acting on at most qubits and thresholds obeying , whether (YES) or (NO).
- It is the quantum analogue of MAX--SAT: the ground energy is the least total penalty a quantum state can pay across all local constraints, the quantum constraint-satisfaction cost.
- Kitaev's Quantum Cook–Levin theorem makes -LH QMA-complete; Kempe–Kitaev–Regev pushed it to -LH and Aharonov–Gottesman–Irani–Kempe to 1D qudit chains.
- Membership in QMA uses the ground state as Merlin's witness — Arthur estimates its energy by phase estimation or local-term sampling, and the promise gap sets his precision.
- Hardness uses the Feynman–Kitaev history state: a clock register plus a propagation Hamiltonian forces every low-energy state to encode a whole run of a verifier circuit, with the path-graph spectral gap supplying the promise gap.
- The problem anchors the quantum PCP conjecture, the classification of stoquastic versus general Hamiltonians, and the worst-case hardness of quantum chemistry.
- Key idea: ground-state energy = optimal cost of a quantum constraint-satisfaction problem; QMA-completeness means estimating it to within is exactly as hard as quantum verification, with the ground state itself serving as the Merlin witness.
Where this lives today
The Local Hamiltonian problem is the reference point of a living research program. In quantum chemistry, molecular electronic-structure Hamiltonians become local Hamiltonians after Jordan–Wigner or Bravyi–Kitaev mappings, and the QMA-completeness of LH is the formal reason that exact ground-state energy estimation is believed hard even for a quantum computer in the worst case — which is why practitioners reach for heuristics like the variational quantum eigensolver rather than a universal algorithm. In complexity theory LH calibrates the whole QMA landscape: constrain the terms and you carve out StoqMA (sign-problem-free), QMA (perfect completeness), and the commuting-Hamiltonian corner that flirts with NP. The frontier is the quantum PCP conjecture, which asks whether LH stays QMA-hard even with a constant relative promise gap; a landmark step came in 2022 when Anshu, Breuckmann, and Nirkhe proved the No Low-energy Trivial States (NLTS) theorem — that certain local Hamiltonians have no low-energy states expressible by shallow circuits — supplying a necessary condition for quantum PCP. And because BQP embeds into LH ground states through universal adiabatic computation, the problem also underwrites quantum annealing and the ground-state model of computation.
The physical picture
Picture the problem as MAX--SAT promoted to the quantum world. A SAT formula is a list of clauses over bits, satisfiable exactly when the minimum number of violated clauses is zero. A local Hamiltonian is a list of energy penalties over qubits, and its ground energy is the minimum total violation — except now the assignment is a quantum state and the clauses are Hermitian operators. The rules change decisively in one way: the optimal state can be globally entangled, so you cannot read off the answer one constraint at a time. That is the whole reason the problem escapes NP and lands in QMA. The first figure fixes the objects. A handful of qubits sit under a scatter of local terms, each term penalizing its own little cluster; the ground energy is the least total penalty summed over every state, and the decision problem only asks on which side of a promise gap that number falls.
The conceptual heart of the whole subject is the history state. To force a static energy landscape to certify a dynamic computation, Kitaev appends a clock register and writes a Hamiltonian that penalizes any configuration that is not a faithful snapshot sequence of a verifier circuit running. The unique zero-energy state is then compelled to be a uniform superposition over every time step of the computation, , with the energy low precisely when the propagation is consistent and the final snapshot is accepting. On the clock line the propagation term becomes the Laplacian of a path graph, and its tiny but nonzero spectral gap is the machine that manufactures the inverse-polynomial promise gap of QMA. The second figure carries the real number: for a modest circuit of gates the path-graph gap is .
Two structural facts complete the picture. First, why an inverse-polynomial gap and not a constant one? The propagation Hamiltonian is a quantum walk on a line of vertices, whose smallest nonzero Laplacian eigenvalue is ; after the bookkeeping that couples this gap to the output penalty, the guaranteed YES/NO separation is only inverse-polynomial — precisely QMA's completeness/soundness margin. Second, locality trades against geometry and arity. Kitaev's construction is -local; perturbation gadgets squeeze it to -local, and clever encodings force it onto a 2D lattice and even a 1D chain of constant-dimension qudits. That the hardness survives every such restriction shows it is intrinsic to quantum mechanics, not an artifact of long-range or high-arity coupling.
The core equations
A -local Hamiltonian is defined by how narrowly each of its terms reaches. Every term is Hermitian, acts as the identity on all but at most qubits, and has bounded norm, so the whole operator is specified by polynomially much classical data even though it lives on a -dimensional space.
where: — total Hamiltonian on qubits, a Hermitian operator; — the -th local term, Hermitian with ; — its nontrivial part; — the set of qubits term acts on; — locality, the maximum arity ; — number of terms, . Reading: is a bounded sum of narrow constraints, not a generic exponential-size matrix. The decision problem is a promise problem: the two thresholds are separated by a gap that must be at least inverse-polynomial, and instances are guaranteed to fall on one side or the other, never inside the gap.
where: — the smallest eigenvalue, i.e. the ground-state energy; — thresholds supplied in the input with ; — the promise gap, required to be at least . Reading: we never need the exact ground energy, only which side of a comfortably wide gap it lies on. The ground energy has a variational meaning that makes the constraint-satisfaction analogy exact: it is the minimum expected energy over all normalized states, and by linearity that is the sum of the expected costs of the individual constraints.
where: — a normalized -qubit state, the variational "assignment"; — the expected cost of constraint in that assignment. Reading: minimizing energy is minimizing total constraint violation, but over the full space of (possibly entangled) quantum states. The hardness reduction rests on the Feynman–Kitaev history state, which packages an entire run of a verifier circuit into one static superposition indexed by a clock.
where: — the -th gate; — the input register (witness qubits together with ancillas set to ); — the clock state for time (unary in Kitaev's construction); — the circuit length. Reading: the ground state is not a single snapshot but an equal-weight superposition over all snapshots of the computation. The clock Hamiltonian is a sum of four penalty groups, one enforcing correct input, one enforcing correct propagation, one forbidding illegal clock states, and one penalizing a rejecting output. The propagation group is the interesting one: it is a sum of small projectors, each annihilated exactly by a correctly propagated pair of consecutive snapshots.
where: the diagonal pieces charge one unit of energy to the two clock times ; the off-diagonal links consecutive snapshots and costs zero energy exactly when . Reading: each term is a projector whose kernel is the correctly propagated history, so the whole history state sits at zero propagation energy. Finally, acceptance is read out of the output penalty, which lives only on the last time slice. Its expectation in the history state converts the verifier's acceptance probability directly into an energy.
where: penalizes a rejecting output qubit at ; — the probability the verifier accepts; the prefactor is the clock amplitude weight. Reading: an almost-always-accepting witness gives an almost-zero output energy, so YES instances have low ground energy and NO instances do not.
The goal of this derivation is to prove the variational identity that underwrites the entire problem: that the smallest eigenvalue of equals the minimum of over all normalized states, and therefore equals the minimum total constraint cost. This is the Rayleigh–Ritz principle, and it is doing double duty here — it is what lets Merlin's optimal witness be a single pure state, and it is what makes the verifier's soundness hold against every possible adversarial witness, because no state, however entangled, can beat the ground energy. We prove it from the spectral theorem in three short steps and then read off both consequences.
Step 1. Diagonalize the Hermitian operator, with and an orthonormal eigenbasis. Why: a Hermitian always has a real spectrum and orthonormal eigenvectors, so any question about can be pushed onto the eigenvalues.
Step 2. Expand an arbitrary normalized state in that basis, with , and compute . Why: the expectation is a probability-weighted average of the eigenvalues, the weights being the measurement probabilities in the energy basis.
Step 3. A convex average of numbers is never smaller than the least of them, so , with equality when all the weight sits on the ground level, . Hence . Why: this is the exact statement that the ground state achieves the minimum and nothing does better — the equality half gives Merlin his optimal witness, the inequality half gives Arthur his soundness. Because is linear, , so the minimized quantity is literally the total expected constraint cost. The one feature with no classical analogue is that the minimizing need not be a product state: when the terms overlap and fail to commute, the optimum is forced to be entangled, which is exactly the gap between LH and classical MAX-SAT.
Go deeper · Derivation B · 2 minThe history state and the propagation spectral gap
The aim here is to show why the Hamiltonian has the history state as its unique zero-energy state in the physical subspace, and where the inverse-polynomial promise gap comes from. The engine is the propagation term of equation (5): we first check that a correctly propagated history annihilates it, then map the restricted operator onto the Laplacian of a path graph, whose known spectrum hands us the gap that ultimately becomes the QMA separation. This is the technical core of the Quantum Cook–Levin theorem.
Step 1. Apply one propagation projector to the two-snapshot combination and watch the four terms cancel pairwise, giving zero. Why: this is the algebraic statement that a correctly propagated pair of consecutive snapshots costs no propagation energy, so summing over the whole history state sits in the kernel of .
Step 2. Restrict to the legal-clock subspace, where charges at least one unit to any illegal clock configuration and so pushes all low-energy states into the space of valid unary clock states. On that subspace, undo the propagation by the time-dependent change of basis ; the operator becomes , the Laplacian of a path on vertices. Why: rotating away the gates turns a complicated quantum propagation into a plain classical random walk on a line, whose spectrum is textbook.
Step 3. Read off the path-Laplacian eigenvalues for . The mode is the uniform vector — the image of the history state — at energy zero; the smallest nonzero eigenvalue is . Why: this spectral gap is the price any state must pay for deviating from a valid history, and for it equals , matching .
Step 4. Combine the gap with the output penalty. In a YES instance the accepting witness gives ground energy . In a NO instance every state either strays from a valid history — paying the propagation gap — or is close to a history whose output rejects — paying the output penalty; Kitaev's geometric lemma balances the two and yields . Why: the two ways to lower the output energy both cost energy elsewhere, and optimizing the trade-off leaves an promise gap, which is as required. *The path-Laplacian eigenvalues give a spectral gap of ; at this equals .*
Go deeper · Derivation C · 2 minVerifying a ground state puts the problem in QMA
This derivation shows the easy half of QMA-completeness: that -LH lies in QMA, meaning there is a polynomial-size quantum verifier that accepts YES instances with a good witness and rejects NO instances against every witness. The witness is the ground state itself; the verifier estimates its energy and thresholds the estimate. The subtlety, which the variational principle handles for free, is soundness against entangled witnesses — Merlin is unbounded and adversarial, so the argument must rule out every state at once, not just product states.
Step 1. Merlin sends the witness. In a YES instance he sends a state with — the ground state works. It has qubits, so it is a polynomial-size proof. Why: QMA allows a polynomial quantum witness, and the ground state is exactly that; the promise gap guarantees such a low-energy state exists on the YES side.
Step 2. Arthur estimates the energy by local-term sampling: draw a term with probability proportional to , measure it on a fresh copy of the witness, and average outcomes to form . By Hoeffding/Chernoff the estimate is within of with high probability. Why: each local term acts on qubits and is measurable by a small circuit, and because only polynomially many samples are needed to resolve the two cases. Equivalently one runs phase estimation on via Trotterization.
Step 3. Arthur accepts iff . On a YES instance the true energy is , so the estimate lands below the midpoint with high probability; completeness holds. Why: the midpoint sits a full half-gap from the true energy on the YES side, and the estimator's error is smaller than a half-gap, so the decision is reliable.
Step 4. Soundness against any witness. In a NO instance , and by the Rayleigh–Ritz bound of the first derivation for every normalized — entangled or not. So the estimate exceeds the midpoint with high probability and Arthur rejects. Why: this is where the variational principle is indispensable; a bound that held only for product states would leave Merlin room to cheat with entanglement, but the true statement covers all states simultaneously.
Limiting cases
How the complexity moves as the Hamiltonian family is restricted or loosened:
| Case | Result | Meaning |
|---|---|---|
| Locality | sum of single-qubit terms; the ground state is a product state, energy computed in time | |
| Locality | is | Kitaev's original Quantum Cook–Levin theorem |
| Locality | is | Kempe–Kitaev–Regev via perturbation gadgets; is the exact threshold |
| 1D qudit chain | nearest-neighbour, | Aharonov–Gottesman–Irani–Kempe; startling, since 1D classical CSPs are easy |
| Exponential precision | Precision-LH, matching QIP = PSPACE; the gap is the resource that pins LH to QMA | |
| Stoquastic terms | no sign problem; ground state has nonnegative amplitudes, conjectured easier |
Worked examples
1 · Why a two-local term already forces entanglement (fully worked)
Take the single antiferromagnetic Heisenberg term on two qubits. Find its ground energy and ground state, and compare against the best product (unentangled) state. This is the smallest instance that shows why LH is not classical MAX-SAT.
Step 1. Diagonalize in the basis . The operator leaves and at energy (the diagonal, with the off-diagonal pieces cancelling on that pair), and mixes through the block with eigenvalues . So has eigenvalues .
Step 2. Scale by : the eigenvalues of are , so the ground energy is . The eigenvalue belongs to the spin singlet , which is maximally entangled — it has no product-state form at all.
Step 3. Now restrict to product states . Then , a dot product of two Bloch unit vectors, minimized at when the spins point antiparallel. So the best product energy is .
Step 4. Compare: the true ground energy is strictly below the best product energy , a shortfall of . No unentangled assignment reaches the optimum. This is the whole story of LH versus classical CSP in one term — a -local Hamiltonian would be minimized by a product state, but this -local term is frustrated onto an entangled ground state, which is the seed of QMA-hardness. λ_min = −3/4 (entangled singlet); best product state only reaches −1/4.
2 · The promise gap of a ten-gate verifier (fully worked)
A QMA verifier runs gates. Using the history-state construction, find the YES threshold , the propagation spectral gap, and the energy precision Arthur must achieve.
Step 1. The clock has time steps, and a accepting witness gives history-state energy , so .
Step 2. On the legal subspace the propagation gap is , in agreement with the small-angle estimate . This is the energy any deviation from a valid history must pay.
Step 3. Kitaev's geometric lemma turns these into a promise gap ; with that is of order , so sits a few thousandths above . Arthur must estimate energy to precision better than .
Step 4. By Chernoff, resolving an energy to precision with the bounded local terms needs measurement samples — polynomial in , hence polynomial in . The inverse-polynomial gap is exactly what keeps the verification efficient. a = 1/33 ≈ 0.030, propagation gap 0.0405, required precision ~5×10⁻⁴, samples poly(n).
3 · A one-local Hamiltonian is trivially easy
Let with each a single-qubit operator on qubit . Find its ground energy.
Step 1. The terms act on disjoint qubits, so they commute and can be minimized independently. The joint ground state is the product where .
Step 2. Hence , and each is the smaller eigenvalue of a matrix, computable in constant time. Total cost , so -LH P. The contrast with Example 1 pinpoints where hardness begins: it is overlap and non-commutation of terms, not locality alone, that manufactures difficulty.
Physics of the portrait
The Local Hamiltonian problem has a clear intellectual owner. The class QMA, the history-state technique, and the completeness theorem all trace to one person, whose reach runs from complexity theory through topological phases of matter to black-hole physics.
Origins · 1 minAlexei Kitaev and how this was discovered
Alexei Kitaev is the rare theorist whose ideas anchor three fields at once. Trained in condensed-matter physics in Russia, he arrived at quantum information in the late 1990s and reshaped it. His 1997 quantum phase-estimation algorithm gave a unifying route to Shor's factoring and to eigenvalue estimation; in the same period he defined QMA — quantum Merlin–Arthur, the quantum generalization of NP — and proved the -local Hamiltonian problem QMA-complete, the Quantum Cook–Levin theorem of this article, written up fully in the 2002 textbook Classical and Quantum Computation with Shen and Vyalyi. In parallel he founded topological quantum computation: the 1997 toric code turned error correction into a statement about anyons and ground-state degeneracy, and the 2006 honeycomb model gave an exactly solvable spin liquid with non-Abelian excitations, seeding the program of fault-tolerant qubits from topological order. His later Sachdev–Ye–Kitaev model tied maximally chaotic quantum systems to black holes and holography. The thread through all of it is the one on display here: that the hardness of computation, the structure of entanglement, and the low-energy physics of matter are one subject seen from different sides.
Going further
Texts. Kitaev, Shen, Vyalyi, Classical and Quantum Computation (2002), Ch. 14 — the original -LH QMA-completeness proof and the history-state machinery · Nielsen & Chuang, Quantum Computation and Quantum Information (10th anniv.), Ch. 2 (spectral theorem) and Ch. 4 (phase estimation) · Watrous, The Theory of Quantum Information (2018) and the survey "Quantum Computational Complexity" (2009) · Kempe, Kitaev, Regev, "The Complexity of the Local Hamiltonian Problem", SIAM J. Comput. 35(5):1070 (2006) — the -local reduction · Aharonov, Gottesman, Irani, Kempe, "The Power of Quantum Systems on a Line", Comm. Math. Phys. 287:41 (2009) — 1D hardness · Gharibian et al., "Quantum Hamiltonian Complexity" (2015) survey · Preskill, Quantum Computation lecture notes (Ph219/CS219). The key checkpoints in this article are: the Rayleigh–Ritz identity ; the path-Laplacian spectrum with gap , numerically at ; the two-qubit Heisenberg spectrum with entangled singlet ground state and best product energy ; the QMA membership argument via local-term sampling and Chernoff bounds; and the completeness statements at , , and 1D. All quoted constants — the – QMA gap, , the Laplacian spectrum, the promise gap — are standard; gadget-dependent prefactors are flagged as such.
Prerequisites. Quantum Merlin–Arthur (QMA) · The Complexity Class BQP · BQP versus P, NP, and PSPACE. Leads to. The Quantum Cook–Levin Theorem · QMA Variants and Related Classes · QIP = PSPACE.
Ask the tutor: Ask me to walk through Kitaev's history-state construction line by line, or to show exactly why the two-qubit Heisenberg ground state must be entangled.
What exactly does "local" mean in k-local?
It means bounded arity, not geometric proximity. A term is -local if it acts nontrivially on at most of the qubits and as the identity on all the rest — the qubits can be anywhere in the system, arbitrarily far apart. So controls how many qubits a single constraint couples, not how those qubits are laid out in space. Geometric locality, meaning interactions only between neighbours on a lattice, is a separate and stronger condition. The striking fact is that the Local Hamiltonian problem remains QMA-complete even when you additionally demand geometric locality, right down to a one-dimensional chain of constant-dimension qudits.
Why is the Local Hamiltonian problem harder than SAT?
Both are constraint-satisfaction problems, but LH allows quantum states as assignments, and quantum states can be entangled. In classical MAX-SAT the optimal assignment is a single bit string, and you can in principle check constraints one at a time. In LH the state minimizing the energy may be globally entangled, so there is no product description to hand a verifier and no way to certify optimality constraint by constraint. The two-qubit Heisenberg term makes this concrete: its true ground energy is , achieved only by an entangled singlet, while the best unentangled state reaches only . That gap between entangled and product optima is exactly why LH needs a quantum witness and lands in QMA rather than NP.
What is a history state and why introduce a clock?
The history state is Kitaev's trick for turning a dynamic computation into a static ground state. To make an energy landscape certify that a circuit accepts, you cannot penalize "the circuit ran correctly" directly, because a Hamiltonian is time-independent. So you add a clock register and build , an equal-weight superposition over every snapshot of the computation tagged by its time step. The propagation Hamiltonian then charges energy to any state that is not a consistent snapshot sequence, so the unique zero-energy state is a genuine history of the circuit — and its output-time slice records whether the run accepted.
Why does the gap have to be 1/poly and not exponentially small?
The promise gap is the resource that fixes which complexity class LH belongs to. With an inverse-polynomial gap, a quantum verifier can estimate the ground energy to the needed precision using only polynomially many measurements, matching QMA's completeness/soundness margin — so LH sits squarely in QMA. Shrink the gap to and distinguishing YES from NO now requires exponential precision, and the problem jumps to PSPACE-complete (this is the "precision-LH" or APX version, consistent with QIP = PSPACE). Far from being a technical nuisance, the size of the gap is the knob that tunes the problem's difficulty across an entire tower of complexity classes.
Is the ground state of a local Hamiltonian always entangled?
No — it depends on whether the terms are frustrated. If the terms commute and share a common eigenbasis, the ground state can be a product state and the problem is easy; a -local Hamiltonian is the extreme case, minimized by an unentangled product with no interaction at all. Entanglement is forced only when terms overlap and fail to commute, so that no single assignment can simultaneously minimize all of them and the optimum must hedge across constraints by entangling qubits. This frustration is the source of hardness: the more the low-energy space resists a simple product or shallow-circuit description, the closer the instance is to the hard core of QMA — a theme made precise by the recent NLTS theorem.
What is the quantum PCP conjecture and why is LH central to it?
The classical PCP theorem says that MAX-SAT stays NP-hard even to approximate within a constant factor — hardness survives a constant relative gap. The quantum PCP conjecture asks the analogue for LH: is it still QMA-hard when the promise gap is a constant fraction of , rather than merely inverse-polynomial? A positive answer would mean that even rough estimates of ground energies are quantumly hard, with deep consequences for the robustness of quantum hardness of approximation. It remains open, but progress runs through LH's structure: area laws and the No Low-energy Trivial States theorem probe whether low-energy states must carry robust long-range entanglement, which is exactly what a quantum PCP would require.