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 H=∑jHjH=\sum_j H_j where each Hermitian term touches at most kk of nn qubits, decide whether the ground-state energy λmin⁡(H)\lambda_{\min}(H) lies below a threshold aa or above a threshold bb. That single move — from bits to qubits, from clauses to energy penalties — turns a decision problem into a piece of physics. Each term HjH_j is a soft constraint; a state ∣ψ⟩|\psi\rangle pays expected energy ⟨ψ∣H∣ψ⟩=∑j⟨ψ∣Hj∣ψ⟩\langle\psi|H|\psi\rangle=\sum_j\langle\psi|H_j|\psi\rangle, and the ground energy λmin⁡(H)\lambda_{\min}(H) 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.

Key takeaways
  • The kk-local Hamiltonian problem asks, given H=∑j=1mHjH=\sum_{j=1}^{m}H_j with each term acting on at most kk qubits and thresholds a<ba<b obeying b−a≥1/poly(n)b-a\ge 1/\mathrm{poly}(n), whether λmin⁡(H)≤a\lambda_{\min}(H)\le a (YES) or λmin⁡(H)≥b\lambda_{\min}(H)\ge b (NO).
  • It is the quantum analogue of MAX-kk-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 55-LH QMA-complete; Kempe–Kitaev–Regev pushed it to 22-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 Θ(1/T2)\Theta(1/T^2) 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 1/poly(n)1/\mathrm{poly}(n) 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), QMA1_1 (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-kk-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.

Figure
A k-local Hamiltonian H = Σ H_j puts one energy penalty on each small cluster of qubits, and the ground energy λ_min = min over ψ of ⟨ψ H ψ⟩ is the least total penalty any quantum state can pay; the k-LH problem asks only whether λ_min sits below a (YES) or above b (NO), with promise gap b − a ≥ 1/poly(n)
Local penalties on clusters of qubits — the ground energy is the least total cost q₁q₂q₃q₄q₅ H₁ H₂ (3-local) H₃ H = H₁ + H₂ + H₃ + ⋯ each term acts on ≤ k qubits energy a YES: λ_min ≤ a b NO: λ_min ≥ b gap b − a ≥ 1/poly(n) λ_min (a YES instance)

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, ∣η⟩∝∑t∣ψt⟩∣t⟩|\eta\rangle\propto\sum_t|\psi_t\rangle|t\rangle, 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 T=10T=10 gates the path-graph gap is 1−cos⁡(π/11)=0.04051-\cos(\pi/11)=0.0405.

Figure
The history state ⟨η⟩ spreads a computation over a clock line of T+1 time steps with equal amplitude 1/√(T+1) at every step; on that line H_prop is the Laplacian of a path graph whose smallest nonzero eigenvalue is 1 − cos(π/(T+1)) ≈ π²/2(T+1)², an order 1/T² gap — for T = 10 gates it equals 0.0405
The clock line: propagation is a path-graph Laplacian with gap 1 − cos(π/(T+1)) uniform amplitude 1/√(T+1) at every clock step 012345678910 t = 0 input t = T output each edge: propagate by gate Uₜ gap = 1 − cos(π/11) = 0.0405 ≈ π²/(2·11²) = 0.0408 → order 1/T² gap

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 T+1T+1 vertices, whose smallest nonzero Laplacian eigenvalue is Θ(1/T2)\Theta(1/T^2); 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 55-local; perturbation gadgets squeeze it to 22-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 kk-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 kk qubits, and has bounded norm, so the whole operator is specified by polynomially much classical data even though it lives on a 2n2^n-dimensional space.

H=∑j=1mHj,Hj=H~j⊗1Sj‾,∣Sj∣≤k(1)H = \sum_{j=1}^{m} H_j, \qquad H_j = \tilde{H}_j \otimes \mathbb{1}_{\overline{S_j}}, \qquad |S_j| \le k \qquad (1)

where: HH — total Hamiltonian on nn qubits, a 2n×2n2^n\times 2^n Hermitian operator; HjH_j — the jj-th local term, Hermitian with ∥Hj∥≤poly(n)\|H_j\|\le\mathrm{poly}(n); H~j\tilde H_j — its nontrivial part; SjS_j — the set of qubits term jj acts on; kk — locality, the maximum arity max⁡j∣Sj∣\max_j|S_j|; mm — number of terms, m=poly(n)m=\mathrm{poly}(n). Reading: HH 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.

λmin⁡(H)≤a  (YES)vsλmin⁡(H)≥b  (NO),b−a≥1poly(n)(2)\lambda_{\min}(H) \le a \ \ (\text{YES}) \quad\text{vs}\quad \lambda_{\min}(H) \ge b \ \ (\text{NO}), \qquad b-a \ge \frac{1}{\mathrm{poly}(n)} \qquad (2)

where: λmin⁡(H)\lambda_{\min}(H) — the smallest eigenvalue, i.e. the ground-state energy; a,ba,b — thresholds supplied in the input with a<ba<b; b−ab-a — the promise gap, required to be at least 1/poly(n)1/\mathrm{poly}(n). 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.

λmin⁡(H)=min⁡∣ψ⟩: ⟨ψ∣ψ⟩=1⟨ψ∣H∣ψ⟩=min⁡∣ψ⟩∑j⟨ψ∣Hj∣ψ⟩(3)\lambda_{\min}(H) = \min_{|\psi\rangle:\,\langle\psi|\psi\rangle=1} \langle\psi|H|\psi\rangle = \min_{|\psi\rangle}\sum_{j}\langle\psi|H_j|\psi\rangle \qquad (3)

where: ∣ψ⟩|\psi\rangle — a normalized nn-qubit state, the variational "assignment"; ⟨ψ∣Hj∣ψ⟩\langle\psi|H_j|\psi\rangle — the expected cost of constraint jj 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 V=UT⋯U1V=U_T\cdots U_1 into one static superposition indexed by a clock.

∣η⟩=1T+1∑t=0T(UtUt−1⋯U1 ∣ξ⟩)⊗∣t⟩clock(4)|\eta\rangle = \frac{1}{\sqrt{T+1}}\sum_{t=0}^{T}\big(U_t U_{t-1}\cdots U_1\,|\xi\rangle\big)\otimes|t\rangle_{\mathrm{clock}} \qquad (4)

where: UtU_t — the tt-th gate; ∣ξ⟩|\xi\rangle — the input register (witness qubits together with ancillas set to ∣0⟩|0\rangle); ∣t⟩|t\rangle — the clock state for time tt (unary in Kitaev's construction); T=poly(n)T=\mathrm{poly}(n) — the circuit length. Reading: the ground state is not a single snapshot but an equal-weight superposition over all T+1T+1 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.

Hprop=∑t=1T12(1⊗∣t⟩⟨t∣+1⊗∣t−1⟩⟨t−1∣−Ut⊗∣t⟩⟨t−1∣−Ut†⊗∣t−1⟩⟨t∣)(5)H_{\mathrm{prop}} = \sum_{t=1}^{T}\tfrac12\Big(\mathbb{1}\otimes|t\rangle\langle t| + \mathbb{1}\otimes|t{-}1\rangle\langle t{-}1| - U_t\otimes|t\rangle\langle t{-}1| - U_t^{\dagger}\otimes|t{-}1\rangle\langle t|\Big) \qquad (5)

where: the diagonal pieces charge one unit of energy to the two clock times t−1,tt{-}1,t; the off-diagonal Ut⊗∣t⟩⟨t−1∣U_t\otimes|t\rangle\langle t{-}1| links consecutive snapshots and costs zero energy exactly when ∣ψt⟩=Ut∣ψt−1⟩|\psi_t\rangle=U_t|\psi_{t-1}\rangle. 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.

⟨η∣Hout∣η⟩=1T+1 ⟨ψT∣(∣0⟩⟨0∣)out∣ψT⟩=1−paccT+1(6)\langle\eta|H_{\mathrm{out}}|\eta\rangle = \frac{1}{T+1}\,\langle\psi_T|\big(|0\rangle\langle0|\big)_{\mathrm{out}}|\psi_T\rangle = \frac{1-p_{\mathrm{acc}}}{T+1} \qquad (6)

where: Hout=(∣0⟩⟨0∣)out⊗∣T⟩⟨T∣H_{\mathrm{out}}=(|0\rangle\langle0|)_{\mathrm{out}}\otimes|T\rangle\langle T| penalizes a rejecting output qubit at t=Tt=T; paccp_{\mathrm{acc}} — the probability the verifier accepts; the prefactor 1/(T+1)1/(T+1) 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.

Derivation AThe ground energy is the best a quantum state can do

The goal of this derivation is to prove the variational identity that underwrites the entire problem: that the smallest eigenvalue of HH equals the minimum of ⟨ψ∣H∣ψ⟩\langle\psi|H|\psi\rangle 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, H=∑iλi∣ϕi⟩⟨ϕi∣H=\sum_i\lambda_i|\phi_i\rangle\langle\phi_i| with λ1≤λ2≤⋯\lambda_1\le\lambda_2\le\cdots and {∣ϕi⟩}\{|\phi_i\rangle\} an orthonormal eigenbasis. Why: a Hermitian HH always has a real spectrum and orthonormal eigenvectors, so any question about ⟨ψ∣H∣ψ⟩\langle\psi|H|\psi\rangle can be pushed onto the eigenvalues.

Step 2. Expand an arbitrary normalized state in that basis, ∣ψ⟩=∑ici∣ϕi⟩|\psi\rangle=\sum_i c_i|\phi_i\rangle with ∑i∣ci∣2=1\sum_i|c_i|^2=1, and compute ⟨ψ∣H∣ψ⟩=∑i∣ci∣2λi\langle\psi|H|\psi\rangle=\sum_i|c_i|^2\lambda_i. Why: the expectation is a probability-weighted average of the eigenvalues, the weights being the measurement probabilities ∣ci∣2|c_i|^2 in the energy basis.

Step 3. A convex average of numbers is never smaller than the least of them, so ∑i∣ci∣2λi≥λ1∑i∣ci∣2=λ1\sum_i|c_i|^2\lambda_i\ge\lambda_1\sum_i|c_i|^2=\lambda_1, with equality when all the weight sits on the ground level, ∣ψ⟩=∣ϕ1⟩|\psi\rangle=|\phi_1\rangle. Hence min⁡∣ψ⟩⟨ψ∣H∣ψ⟩=λ1=λmin⁡\min_{|\psi\rangle}\langle\psi|H|\psi\rangle=\lambda_1=\lambda_{\min}. 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 H=∑jHjH=\sum_j H_j is linear, ⟨ψ∣H∣ψ⟩=∑j⟨ψ∣Hj∣ψ⟩\langle\psi|H|\psi\rangle=\sum_j\langle\psi|H_j|\psi\rangle, so the minimized quantity is literally the total expected constraint cost. The one feature with no classical analogue is that the minimizing ∣ψ⟩|\psi\rangle 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
Derivation BThe history state and the propagation spectral gap

The aim here is to show why the Hamiltonian HKSV=Hin+Hprop+Hclock+HoutH_{\mathrm{KSV}}=H_{\mathrm{in}}+H_{\mathrm{prop}}+H_{\mathrm{clock}}+H_{\mathrm{out}} 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 Θ(1/T2)\Theta(1/T^2) gap that ultimately becomes the QMA separation. This is the technical core of the Quantum Cook–Levin theorem.

Step 1. Apply one propagation projector Pt=12(∣t⟩⟨t∣+∣t−1⟩⟨t−1∣−Ut∣t⟩⟨t−1∣−Ut†∣t−1⟩⟨t∣)P_t=\tfrac12(|t\rangle\langle t|+|t{-}1\rangle\langle t{-}1|-U_t|t\rangle\langle t{-}1|-U_t^\dagger|t{-}1\rangle\langle t|) to the two-snapshot combination Ut∣ψt−1⟩∣t⟩+∣ψt−1⟩∣t−1⟩U_t|\psi_{t-1}\rangle|t\rangle+|\psi_{t-1}\rangle|t{-}1\rangle 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 tt the whole history state ∣η⟩|\eta\rangle sits in the kernel of HpropH_{\mathrm{prop}}.

Step 2. Restrict to the legal-clock subspace, where HclockH_{\mathrm{clock}} 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 ∣ψt⟩∣t⟩↦∣t⟩|\psi_t\rangle|t\rangle\mapsto|t\rangle; the operator HpropH_{\mathrm{prop}} becomes ∑t12(2∣t⟩⟨t∣−∣t⟩⟨t−1∣−∣t−1⟩⟨t∣)\sum_t\tfrac12(2|t\rangle\langle t|-|t\rangle\langle t{-}1|-|t{-}1\rangle\langle t|), the Laplacian of a path on T+1T+1 vertices. Why: rotating away the gates UtU_t 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 λr=1−cos⁡ ⁣πrT+1\lambda_r=1-\cos\!\frac{\pi r}{T+1} for r=0,1,…,Tr=0,1,\dots,T. The r=0r=0 mode is the uniform vector — the image of the history state — at energy zero; the smallest nonzero eigenvalue is λ1=1−cos⁡πT+1=Θ(1/T2)\lambda_1=1-\cos\frac{\pi}{T+1}=\Theta(1/T^2). Why: this spectral gap is the price any state must pay for deviating from a valid history, and for T=10T=10 it equals 1−cos⁡(π/11)=0.04051-\cos(\pi/11)=0.0405, matching π2/2(T+1)2=0.0408\pi^2/2(T+1)^2=0.0408.

Step 4. Combine the gap with the output penalty. In a YES instance the accepting witness gives ground energy ≤(1−pacc)/(T+1)≤13(T+1)=:a\le(1-p_{\mathrm{acc}})/(T+1)\le\frac{1}{3(T+1)}=:a. In a NO instance every state either strays from a valid history — paying the Θ(1/T2)\Theta(1/T^2) propagation gap — or is close to a history whose output rejects — paying the output penalty; Kitaev's geometric lemma balances the two and yields λmin⁡≥a+Ω(1/T3)=:b\lambda_{\min}\ge a+\Omega(1/T^3)=:b. Why: the two ways to lower the output energy both cost energy elsewhere, and optimizing the trade-off leaves an Ω(1/T3)\Omega(1/T^3) promise gap, which is 1/poly(n)1/\mathrm{poly}(n) as required. *The path-Laplacian eigenvalues 1−cos⁡(πr/(T+1))1-\cos(\pi r/(T+1)) give a spectral gap of Θ(1/T2)\Theta(1/T^2); at T=10T=10 this equals 0.04050.0405.*

Go deeper · Derivation C · 2 minVerifying a ground state puts the problem in QMA
Derivation CVerifying a ground state puts the problem in QMA

This derivation shows the easy half of QMA-completeness: that kk-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 ∣ψ⟩|\psi\rangle with ⟨ψ∣H∣ψ⟩≤a\langle\psi|H|\psi\rangle\le a — the ground state ∣ϕ1⟩|\phi_1\rangle works. It has nn 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 HjH_{j} with probability proportional to ∥Hj∥\|H_j\|, measure it on a fresh copy of the witness, and average q=poly(n)q=\mathrm{poly}(n) outcomes to form E^\hat E. By Hoeffding/Chernoff the estimate is within (b−a)/2(b-a)/2 of ⟨ψ∣H∣ψ⟩\langle\psi|H|\psi\rangle with high probability. Why: each local term acts on k=O(1)k=O(1) qubits and is measurable by a small circuit, and because b−a≥1/poly(n)b-a\ge1/\mathrm{poly}(n) only polynomially many samples are needed to resolve the two cases. Equivalently one runs phase estimation on e−iHte^{-iHt} via Trotterization.

Step 3. Arthur accepts iff E^≤(a+b)/2\hat E\le(a+b)/2. On a YES instance the true energy is ≤a\le a, 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 λmin⁡≥b\lambda_{\min}\ge b, and by the Rayleigh–Ritz bound of the first derivation ⟨ψ∣H∣ψ⟩≥λmin⁡≥b\langle\psi|H|\psi\rangle\ge\lambda_{\min}\ge b for every normalized ∣ψ⟩|\psi\rangle — 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:

CaseResultMeaning
Locality k=1k=11-LH∈P1\text{-LH}\in\mathrm{P}sum of single-qubit terms; the ground state is a product state, energy ∑iλmin⁡(hi)\sum_i\lambda_{\min}(h_i) computed in O(n)O(n) time
Locality k=5k=55-LH5\text{-LH} is QMA-complete\mathrm{QMA\text{-}complete}Kitaev's original Quantum Cook–Levin theorem
Locality k=2k=22-LH2\text{-LH} is QMA-complete\mathrm{QMA\text{-}complete}Kempe–Kitaev–Regev via perturbation gadgets; k=2k=2 is the exact threshold
1D qudit chainnearest-neighbour, d=O(1)⇒QMA-completed=O(1)\Rightarrow\mathrm{QMA\text{-}complete}Aharonov–Gottesman–Irani–Kempe; startling, since 1D classical CSPs are easy
Exponential precisionb−a=2−poly(n)⇒PSPACE-completeb-a=2^{-\mathrm{poly}(n)}\Rightarrow\mathrm{PSPACE\text{-}complete}Precision-LH, matching QIP = PSPACE; the gap is the resource that pins LH to QMA
Stoquastic terms⟨x∣Hj∣y⟩≤0 (x≠y)⇒StoqMA\langle x|H_j|y\rangle\le 0\ (x\neq y)\Rightarrow\mathrm{StoqMA}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 H=14(X⊗X+Y⊗Y+Z⊗Z)H=\tfrac14(X\otimes X+Y\otimes Y+Z\otimes Z) 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 {∣00⟩,∣01⟩,∣10⟩,∣11⟩}\{|00\rangle,|01\rangle,|10\rangle,|11\rangle\}. The operator σ ⁣⋅ ⁣σ=X⊗X+Y⊗Y+Z⊗Z\sigma\!\cdot\!\sigma=X\otimes X+Y\otimes Y+Z\otimes Z leaves ∣00⟩|00\rangle and ∣11⟩|11\rangle at energy +1+1 (the ZZZZ diagonal, with the off-diagonal XX,YYXX,YY pieces cancelling on that pair), and mixes ∣01⟩,∣10⟩|01\rangle,|10\rangle through the block (−122−1)\begin{pmatrix}-1&2\\2&-1\end{pmatrix} with eigenvalues −1±2-1\pm2. So σ ⁣⋅ ⁣σ\sigma\!\cdot\!\sigma has eigenvalues {+1,+1,+1,−3}\{+1,+1,+1,-3\}.

Step 2. Scale by 14\tfrac14: the eigenvalues of HH are {+14,+14,+14,−34}\{+\tfrac14,+\tfrac14,+\tfrac14,-\tfrac34\}, so the ground energy is \boldsymbol{\lambda_{\min}=-\tfrac34}. The −3-3 eigenvalue belongs to the spin singlet ∣Ψ−⟩=(∣01⟩−∣10⟩)/2|\Psi^-\rangle=(|01\rangle-|10\rangle)/\sqrt2, which is maximally entangled — it has no product-state form at all.

Step 3. Now restrict to product states ∣a⟩⊗∣b⟩|a\rangle\otimes|b\rangle. Then ⟨σ ⁣⋅ ⁣σ⟩=⟨X⟩a⟨X⟩b+⟨Y⟩a⟨Y⟩b+⟨Z⟩a⟨Z⟩b=n⃗a ⁣⋅ ⁣n⃗b\langle\sigma\!\cdot\!\sigma\rangle=\langle X\rangle_a\langle X\rangle_b+\langle Y\rangle_a\langle Y\rangle_b+\langle Z\rangle_a\langle Z\rangle_b=\vec n_a\!\cdot\!\vec n_b, a dot product of two Bloch unit vectors, minimized at −1-1 when the spins point antiparallel. So the best product energy is 14(−1)=\tfrac14(-1)=\boldsymbol{-\tfrac14}.

Step 4. Compare: the true ground energy −34-\tfrac34 is strictly below the best product energy −14-\tfrac14, a shortfall of 12\tfrac12. No unentangled assignment reaches the optimum. This is the whole story of LH versus classical CSP in one term — a 11-local Hamiltonian would be minimized by a product state, but this 22-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 T=10T=10 gates. Using the history-state construction, find the YES threshold aa, the propagation spectral gap, and the energy precision Arthur must achieve.

Step 1. The clock has T+1=11T+1=11 time steps, and a pacc=2/3p_{\mathrm{acc}}=2/3 accepting witness gives history-state energy ⟨η∣H∣η⟩=(1−23)/11=133\langle\eta|H|\eta\rangle=(1-\tfrac23)/11=\tfrac{1}{33}, so \boldsymbol{a=1/33\approx0.0303}.

Step 2. On the legal subspace the propagation gap is 1−cos⁡πT+1=1−cos⁡π11=1-\cos\frac{\pi}{T+1}=1-\cos\frac{\pi}{11}=\boldsymbol{0.0405}, in agreement with the small-angle estimate π2/2(11)2=0.0408\pi^2/2(11)^2=0.0408. This is the energy any deviation from a valid history must pay.

Step 3. Kitaev's geometric lemma turns these into a promise gap b−a=Ω(1/T3)b-a=\Omega(1/T^3); with T=10T=10 that is of order 10−310^{-3}, so bb sits a few thousandths above aa. Arthur must estimate energy to precision better than (b−a)/2∼5×10−4(b-a)/2\sim5\times10^{-4}.

Step 4. By Chernoff, resolving an energy to precision ε\varepsilon with the bounded local terms needs O(1/ε2)=O(T6)O(1/\varepsilon^2)=O(T^6) measurement samples — polynomial in TT, hence polynomial in nn. 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 H=∑i=1nhiH=\sum_{i=1}^{n}h_i with each hih_i a single-qubit operator on qubit ii. 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 ∣ψ∗⟩=⨂i∣ϕi⟩|\psi^*\rangle=\bigotimes_i|\phi_i\rangle where hi∣ϕi⟩=λmin⁡(hi)∣ϕi⟩h_i|\phi_i\rangle=\lambda_{\min}(h_i)|\phi_i\rangle.

Step 2. Hence λmin⁡(H)=∑i=1nλmin⁡(hi)\lambda_{\min}(H)=\sum_{i=1}^{n}\lambda_{\min}(h_i), and each λmin⁡(hi)\lambda_{\min}(h_i) is the smaller eigenvalue of a 2×22\times2 matrix, computable in constant time. Total cost O(n)O(n), so 11-LH ∈\in 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
AK
Alexei Kitaev
born 1963 · quantum complexity and topological quantum computation

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 55-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.

History
1985
— Feynman proposes encoding a computation in the ground state of a time-independent Hamiltonian
1999
— Kitaev defines QMA and proves the 5-local Hamiltonian problem QMA-complete
2002
— Kitaev, Shen, Vyalyi publish the full history-state proof in Classical and Quantum Computation
2006
— Kempe, Kitaev, Regev reduce the hardness to 2-local Hamiltonians
2009
— Aharonov, Gottesman, Irani, Kempe prove 1D constant-dimension qudit chains QMA-complete

Going further

Texts. Kitaev, Shen, Vyalyi, Classical and Quantum Computation (2002), Ch. 14 — the original 55-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 22-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 min⁡ψ⟨ψ∣H∣ψ⟩=λmin⁡\min_\psi\langle\psi|H|\psi\rangle=\lambda_{\min}; the path-Laplacian spectrum 1−cos⁡(πr/(T+1))1-\cos(\pi r/(T+1)) with gap Θ(1/T2)\Theta(1/T^2), numerically 0.04050.0405 at T=10T=10; the two-qubit Heisenberg spectrum {−3/4,+1/4,+1/4,+1/4}\{-3/4,+1/4,+1/4,+1/4\} with entangled singlet ground state and best product energy −1/4-1/4; the QMA membership argument via local-term sampling and Chernoff bounds; and the completeness statements at k=5k=5, k=2k=2, and 1D. All quoted constants — the 2/32/3–1/31/3 QMA gap, a=1/(3(T+1))a=1/(3(T+1)), the 1−cos⁡1-\cos Laplacian spectrum, the Ω(1/T3)\Omega(1/T^3) 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 HjH_j is kk-local if it acts nontrivially on at most kk of the nn qubits and as the identity on all the rest — the kk qubits can be anywhere in the system, arbitrarily far apart. So kk 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 −3/4-3/4, achieved only by an entangled singlet, while the best unentangled state reaches only −1/4-1/4. 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 V=UT⋯U1V=U_T\cdots U_1 accepts, you cannot penalize "the circuit ran correctly" directly, because a Hamiltonian is time-independent. So you add a clock register and build ∣η⟩=1T+1∑t(Ut⋯U1∣ξ⟩)∣t⟩|\eta\rangle=\frac{1}{\sqrt{T+1}}\sum_t(U_t\cdots U_1|\xi\rangle)|t\rangle, 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 2−poly(n)2^{-\mathrm{poly}(n)} 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 11-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 b−ab-a is a constant fraction of ∥H∥\|H\|, 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.

Before this

Where this leads