Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Adiabatic optimization: running time in terms of the minimum gap (linear interpolation)

Proved
QAlgorithms.Childs.adiabatic_running_time_gap

by Goku · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

childslecture-notesquantum-information

This is the running-time bound for adiabatic optimization with a linear interpolation schedule.

Let h:{0,1}n→Rh:\{0,1\}^n\to\mathbb Rh:{0,1}n→R be a cost function on nnn-bit strings and let

HP=∑z∈{0,1}nh(z) ∣z⟩⟨z∣H_P=\sum_{z\in\{0,1\}^n} h(z)\,|z\rangle\langle z|HP​=z∈{0,1}n∑​h(z)∣z⟩⟨z∣

be the problem Hamiltonian. Let HBH_BHB​ be a beginning Hamiltonian on nnn qubits and let H(s)=(1−s)HB+sHPH(s)=(1-s)H_B+sH_PH(s)=(1−s)HB​+sHP​ for s∈[0,1]s\in[0,1]s∈[0,1]. Assume that H(s)H(s)H(s) is Hermitian and has a nondegenerate ground state for every s∈[0,1]s\in[0,1]s∈[0,1]. Write Δ(s)\Delta(s)Δ(s) for the gap between the ground and first excited energies of H(s)H(s)H(s), and Δmin⁡=min⁡s∈[0,1]Δ(s)\Delta_{\min}=\min_{s\in[0,1]}\Delta(s)Δmin​=mins∈[0,1]​Δ(s). Norms of operators are operator norms.

There are absolute constants c1,c3>0c_1,c_3>0c1​,c3​>0 (the constants of the first- and second-order perturbation bounds used in the adiabatic theorem, Theorem 30.1) such that the following holds for every such nnn, hhh, HBH_BHB​. Let ϵ>0\epsilon>0ϵ>0 and suppose

T ≥ 2ϵ(2c1∥HP−HB∥Δmin⁡2+(3c12+c1+c3)∥HP−HB∥2Δmin⁡3).T\ \ge\ \frac{2}{\epsilon}\left(2c_1\frac{\|H_P-H_B\|}{\Delta_{\min}^2}+(3c_1^2+c_1+c_3)\frac{\|H_P-H_B\|^2}{\Delta_{\min}^3}\right).T ≥ ϵ2​(2c1​Δmin2​∥HP​−HB​∥​+(3c12​+c1​+c3​)Δmin3​∥HP​−HB​∥2​).

If ∣ψ(s)⟩|\psi(s)\rangle∣ψ(s)⟩ solves the Schrödinger equation i dds∣ψ(s)⟩=T H(s)∣ψ(s)⟩i\,\frac{d}{ds}|\psi(s)\rangle=T\,H(s)|\psi(s)\rangleidsd​∣ψ(s)⟩=TH(s)∣ψ(s)⟩ on [0,1][0,1][0,1] and ∣ψ(0)⟩|\psi(0)\rangle∣ψ(0)⟩ is a unit-norm ground state of HBH_BHB​, then there is a unit-norm ground state ∣ϕ(1)⟩|\phi(1)\rangle∣ϕ(1)⟩ of HPH_PHP​ with

∥∣ψ(1)⟩−∣ϕ(1)⟩∥≤ϵ.\big\||\psi(1)\rangle-|\phi(1)\rangle\big\|\le\epsilon.​∣ψ(1)⟩−∣ϕ(1)⟩​≤ϵ.

The bound reduces the question of how long the adiabatic algorithm must run to a spectral question: if ∥HP−HB∥\|H_P-H_B\|∥HP​−HB​∥ is polynomially bounded and 1/Δmin⁡1/\Delta_{\min}1/Δmin​ is polynomially bounded in nnn, the running time is polynomial.

Formalization Note The ground state of HPH_PHP​ is determined only up to a global phase, so the conclusion asserts the existence of some unit ground state of HPH_PHP​ within distance ϵ\epsilonϵ. The constants c1,c3c_1,c_3c1​,c3​ are quantified existentially before all other data, as in the source, where they are introduced as "some constants". The minimum gap is the infimum of the gap over [0,1][0,1][0,1].

Preamble
import Definitions.Def_QAlgorithms_Defs_Hamiltonian
set_option autoImplicit false
Formal statement
namespace QAlgorithms.Childs

/-- Childs, Theorem 31.1 (PDF p.166, eq. (31.9)): the running time of adiabatic optimization with
linear interpolation, in terms of the minimum gap. There are constants `c₁, c₃ > 0` (those of the
perturbation bounds (30.46)–(30.47), PDF p.162, introduced there as "some constants"; absolute,
so quantified before `n`, `h` and `H_B`) such that the following holds. Let `h : {0,1}ⁿ → ℝ`,
`H_P = Σ_z h(z)|z⟩⟨z|`, and let `H_B` be a beginning Hamiltonian on `n` qubits such that
`H(s) = (1 − s) H_B + s H_P` has a nondegenerate ground state for every `s ∈ [0, 1]` (the standing
assumption of §31.1, PDF p.166; it makes every `H(s)`, in particular `H_B = H(0)`, Hermitian).
Let `ϵ > 0` and
`T ≥ (2/ϵ)(2c₁‖H_P − H_B‖/∆min² + (3c₁² + c₁ + c₃)‖H_P − H_B‖²/∆min³)`. If `ψ` solves
`i dψ/ds = T H(s) ψ(s)` on `[0, 1]` with `ψ(0)` a unit ground state of `H_B`, then
`‖ψ(1) − ϕ(1)‖ ≤ ϵ` for a unit ground state `ϕ(1)` of `H_P` (the ground state is fixed only up to a
phase, PDF p.160, so the conclusion asserts some unit ground state). -/
theorem adiabatic_running_time_gap :
    ∃ c1 c3 : ℝ, 0 < c1 ∧ 0 < c3 ∧
      ∀ (n : ℕ) (h : Qubits n → ℝ) (HB : Matrix (Qubits n) (Qubits n) ℂ),
        (∀ s ∈ Set.Icc (0 : ℝ) 1, HasSimpleGroundState (linInterp HB (problemHamiltonian h) s)) →
        ∀ ε : ℝ, 0 < ε →
        ∀ T : ℝ,
          T ≥ 2 / ε * (2 * c1 * specNorm (problemHamiltonian h - HB) /
              minGap (linInterp HB (problemHamiltonian h)) ^ 2 +
            (3 * c1 ^ 2 + c1 + c3) * specNorm (problemHamiltonian h - HB) ^ 2 /
              minGap (linInterp HB (problemHamiltonian h)) ^ 3) →
        ∀ ψ : ℝ → EuclideanSpace ℂ (Qubits n),
          SolvesScaledSchrodinger (linInterp HB (problemHamiltonian h)) T ψ →
          IsGroundState HB (ψ 0) →
          ∃ φ1 : EuclideanSpace ℂ (Qubits n),
            IsGroundState (problemHamiltonian h) φ1 ∧ ‖ψ 1 - φ1‖ ≤ ε := by
  sorry

end QAlgorithms.Childs
Source
Andrew Childs, Lecture Notes on Quantum Algorithms, 17 April 2025, PDF p. 166, Theorem 31.1. https://www.cs.umd.edu/~amchilds/qa/qa.pdf
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

The statement asserts that there exist real constants c1>0c_1 > 0c1​>0 and c3>0c_3 > 0c3​>0 such that the following holds. The constants are fixed once and do not depend on any of the data quantified afterwards.

Data. Take:

  • any natural number nnn, with the nnn-qubit computational basis indexed by bit strings z∈{0,1}nz \in \{0,1\}^nz∈{0,1}n;
  • any real function h:{0,1}n→Rh : \{0,1\}^n \to \mathbb{R}h:{0,1}n→R;
  • any complex 2n×2n2^n \times 2^n2n×2n matrix HBH_BHB​. No hypothesis is placed on HBH_BHB​ directly.

Let HP=diag⁡(h(z))zH_P = \operatorname{diag}(h(z))_{z}HP​=diag(h(z))z​ be the diagonal "problem Hamiltonian" whose zzz-th diagonal entry is h(z)h(z)h(z). Let

H(s)=(1−s) HB+s HP,s∈R,H(s) = (1-s)\,H_B + s\,H_P, \qquad s \in \mathbb{R},H(s)=(1−s)HB​+sHP​,s∈R,

be the linear interpolation, so that H(0)=HBH(0) = H_BH(0)=HB​ and H(1)=HPH(1) = H_PH(1)=HP​.

Simple-ground-state hypothesis. Assume that for every s∈[0,1]s \in [0,1]s∈[0,1], H(s)H(s)H(s) "has a simple ground state". By definition this means three things:

  • H(s)H(s)H(s) is Hermitian;
  • 2≤2n2 \le 2^n2≤2n, which forces n≥1n \ge 1n≥1;
  • the spectral gap λ1(H(s))−λ0(H(s))\lambda_1(H(s)) - \lambda_0(H(s))λ1​(H(s))−λ0​(H(s)) is strictly positive. Here λ0≤λ1≤…\lambda_0 \le \lambda_1 \le \dotsλ0​≤λ1​≤… are the eigenvalues of H(s)H(s)H(s) listed increasingly with multiplicity.

Applied at s=0s = 0s=0 and s=1s = 1s=1, this in particular makes HBH_BHB​ and HPH_PHP​ Hermitian with non-degenerate lowest eigenvalue.

Minimum gap. Define

gmin⁡=inf⁡s∈[0,1](λ1(H(s))−λ0(H(s))),g_{\min} = \inf_{s \in [0,1]} \bigl(\lambda_1(H(s)) - \lambda_0(H(s))\bigr),gmin​=s∈[0,1]inf​(λ1​(H(s))−λ0​(H(s))),

the infimum of the set of these gaps as sss ranges over [0,1][0,1][0,1]. Let ∥⋅∥\|\cdot\|∥⋅∥ on matrices denote the spectral norm, that is, the operator norm induced by the Euclidean norm. Under the code's conventions, any division by zero below evaluates to 000; for example, the formula degenerates if gmin⁡=0g_{\min} = 0gmin​=0.

Accuracy and running time. Take any real ε>0\varepsilon > 0ε>0, with no upper bound on ε\varepsilonε. Take any real TTT satisfying

T  ≥  2ε(2c1 ∥HP−HB∥gmin⁡2+(3c12+c1+c3) ∥HP−HB∥2gmin⁡3).T \;\ge\; \frac{2}{\varepsilon}\left( \frac{2c_1\,\|H_P - H_B\|}{g_{\min}^{2}} + \frac{(3c_1^2 + c_1 + c_3)\,\|H_P - H_B\|^{2}}{g_{\min}^{3}} \right).T≥ε2​(gmin2​2c1​∥HP​−HB​∥​+gmin3​(3c12​+c1​+c3​)∥HP​−HB​∥2​).

Evolution. Take any function ψ:R→C2n\psi : \mathbb{R} \to \mathbb{C}^{2^n}ψ:R→C2n, valued in 2n2^n2n-dimensional complex Euclidean space. Assume it solves the scaled Schrödinger equation on [0,1][0,1][0,1]: for every s∈[0,1]s \in [0,1]s∈[0,1], ψ\psiψ has derivative

ψ′(s)=−i T H(s) ψ(s)\psi'(s) = -i\,T\,H(s)\,\psi(s)ψ′(s)=−iTH(s)ψ(s)

at sss, taken within the set [0,1][0,1][0,1]. At the endpoints this is a one-sided derivative. No condition is imposed on ψ\psiψ outside [0,1][0,1][0,1].

Assume also that ψ(0)\psi(0)ψ(0) is a ground state of HBH_BHB​:

  • ∥ψ(0)∥=1\|\psi(0)\| = 1∥ψ(0)∥=1 in the Euclidean norm;
  • HB ψ(0)=λmin⁡(HB) ψ(0)H_B\,\psi(0) = \lambda_{\min}(H_B)\,\psi(0)HB​ψ(0)=λmin​(HB​)ψ(0), where λmin⁡(HB)\lambda_{\min}(H_B)λmin​(HB​) is the smallest eigenvalue of HBH_BHB​.

Conclusion. There exists a vector φ1∈C2n\varphi_1 \in \mathbb{C}^{2^n}φ1​∈C2n such that:

  • ∥φ1∥=1\|\varphi_1\| = 1∥φ1​∥=1;
  • HP φ1=λmin⁡(HP) φ1H_P\,\varphi_1 = \lambda_{\min}(H_P)\,\varphi_1HP​φ1​=λmin​(HP​)φ1​, so φ1\varphi_1φ1​ is a unit ground state of the diagonal Hamiltonian HPH_PHP​, with any global phase allowed;
  • ∥ψ(1)−φ1∥≤ε\|\psi(1) - \varphi_1\| \le \varepsilon∥ψ(1)−φ1​∥≤ε in the Euclidean norm.
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me