Replacing U_k ⋯ U_j by powers of U_1 in the discretized adiabatic evolution
ProvedQAlgorithms.Nannicini.adiabatic_unitary_replacementWork in the setting of Theorem 9.17. Let , , be a time-dependent Hamiltonian on with twice differentiable entries, entrywise derivatives , and operator-norm bounds , for all . Let be a unit vector with for every , differentiable in with derivative , and with its phase fixed by (Eq. (9.20)). Let be a spectral gap around : is a simple eigenvalue of every and all other eigenvalues have absolute value at least . Let and .
For a number of discretization steps put , , and let be the component of orthogonal to .
Then there are a constant and a threshold , both independent of and , such that for all and all
The lemma bounds the error made in the proof of the adiabatic theorem when every unitary acting on the orthogonal component is replaced by , which turns the evolution into a geometric sum that cancels.
Formalization Note This is a corrected statement. The source writes the remainder as without saying how it depends on . Following Rem. 9.14, the constant may depend on everything except (on , , , , , , ). It is quantified before and , and the bound holds uniformly in . This is the reading the proof of Theorem 9.17 relies on when it applies the lemma at with remainder . The evolution of Theorem 9.17 plays no role and is omitted.
import Definitions.Def_QAlgorithms_Defs_Adiabatic set_option autoImplicit false
namespace QAlgorithms.Nannicini
open QAlgorithms.Stabilizer
/-- Corrected statement. Nannicini p.221, Lemma 9.20. Printed: "Let `p_j, U_j` for
`j = 1, …, N` be defined as in Thm. 9.17. Then:
`‖Σ_{j=1}^k U_k U_{k−1} ⋯ U_j p_1 − Σ_{j=1}^k U_1^{k+1−j} p_1‖ ≤ 2(k + 1)k‖H′‖²/(γ²N²) + O(k/N³)`."
What was changed: the printed error term `O(k/N³)` is given an explicit meaning. By Rem. 9.14
(p.214) the `O(·)` drops every factor not depending on `N`, so the constant `C` may depend on the
data `H, H′, H″, φ, γ, ‖H′‖, ‖H″‖, δ, T` but is quantified **before** `N` and `k`, with a threshold
`N₀`; the bound is required **uniformly** in `1 ≤ k ≤ N`. Why: as printed the `O(k/N³)` does not
say whether `k` is fixed as `N → ∞` (then "`k/N³`" is just `O(1/N³)`) or ranges up to `O(N)`. The
uniform reading is the one the source relies on: the proof of Thm. 9.17 applies the lemma at
`h = M − 1 = O(N)` and writes the remainder as `O(1/N²)` (p.221). The source's own induction
(Eqs. (9.29)–(9.32)) adds an `O(k/N³)` remainder at each step, which accumulates to `O(k²/N³)`, so
the printed proof does not by itself give this reading; the claim is stated as the lemma prints it.
Objects (Eqs. (9.9)–(9.11), (9.20), pp.213–219): `U_j = e^{i(T/N) H(j/N)}` (`NormedSpace.exp`),
`g_j = |φ(j/N)⟩` with the phase fixed by `⟨φ′(s)|φ(s)⟩ = 0`, and
`p_1 = Proj_{G₁^⊥}(g_0 − g_1) = (g_0 − g_1) − ⟨g_1|g_0 − g_1⟩ g_1`. The product
`U_k U_{k−1} ⋯ U_j` is `[U_k, U_{k−1}, …, U_j].prod`. The context of Thm. 9.17 is carried as in
`adiabatic_theorem_zero` (without the evolution `ψ`, which plays no role); `‖H′‖` is the bound
`N1`. -/
theorem adiabatic_unitary_replacement {ι : Type*} [Fintype ι] [DecidableEq ι]
(H H' H'' : ℝ → Matrix ι ι ℂ)
(hH' : ∀ s ∈ Set.Icc (0 : ℝ) 1, ∀ i j,
HasDerivWithinAt (fun t => H t i j) (H' s i j) (Set.Icc 0 1) s)
(hH'' : ∀ s ∈ Set.Icc (0 : ℝ) 1, ∀ i j,
HasDerivWithinAt (fun t => H' t i j) (H'' s i j) (Set.Icc 0 1) s)
(φ φ' : ℝ → EuclideanSpace ℂ ι)
(hφ : ∀ s ∈ Set.Icc (0 : ℝ) 1, IsState (φ s) ∧ act (H s) (φ s) = 0)
(hφ' : ∀ s ∈ Set.Icc (0 : ℝ) 1, HasDerivWithinAt φ (φ' s) (Set.Icc 0 1) s)
(hphase : ∀ s ∈ Set.Icc (0 : ℝ) 1, inner ℂ (φ' s) (φ s) = 0)
(γ : ℝ) (hγ : 0 < γ) (hgap : ∀ s ∈ Set.Icc (0 : ℝ) 1, HasGapAround (H s) 0 γ)
(N1 N2 : ℝ) (hN1 : ∀ s ∈ Set.Icc (0 : ℝ) 1, specNorm (H' s) ≤ N1)
(hN2 : ∀ s ∈ Set.Icc (0 : ℝ) 1, specNorm (H'' s) ≤ N2)
(δ : ℝ) (hδ : 0 < δ) (T : ℝ)
(hT : 10 ^ 3 / δ ^ 2 * max (N1 ^ 3 / γ ^ 4) (N1 * N2 / γ ^ 3) ≤ T) :
∃ C : ℝ, ∃ N₀ : ℕ, ∀ N : ℕ, N₀ ≤ N → ∀ k : ℕ, 1 ≤ k → k ≤ N →
let U : ℕ → Matrix ι ι ℂ := fun j =>
NormedSpace.exp ((Complex.I * ((T / N : ℝ) : ℂ)) • H ((j : ℝ) / N))
let g : ℕ → EuclideanSpace ℂ ι := fun j => φ ((j : ℝ) / N)
let p1 : EuclideanSpace ℂ ι := (g 0 - g 1) - inner ℂ (g 1) (g 0 - g 1) • g 1
‖∑ j ∈ Finset.Icc 1 k, act ((List.range (k + 1 - j)).map fun i => U (k - i)).prod p1 -
∑ j ∈ Finset.Icc 1 k, act (U 1 ^ (k + 1 - j)) p1‖ ≤
2 * ((k : ℝ) + 1) * k * N1 ^ 2 / (γ ^ 2 * (N : ℝ) ^ 2) + C * k / (N : ℝ) ^ 3 := by
sorry
end QAlgorithms.Nannicini
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a finite index set with decidable equality. All vectors live in with the Euclidean norm. The inner product is conjugate-linear in the first slot. For a matrix , denotes the spectral (operator 2-) norm, and is the matrix–vector product. Every "derivative at " below is a derivative within , so it is one-sided at the endpoints.
Data and hypotheses.
- Matrix paths. are three matrix-valued functions such that:
- for every and every , the entry function has derivative at ;
- for every and every , the entry function has derivative at .
- State path. satisfy, for every :
- ;
- ;
- has derivative at ;
- .
- Spectral gap. is a real number such that, for every :
- is Hermitian;
- in the list of eigenvalues of , counted with multiplicity and sorted increasingly, exactly one entry equals , so is an eigenvalue of multiplicity exactly one;
- every other eigenvalue satisfies .
- Norm bounds. are reals with and for all . This forces .
- Time parameter. and are reals with
The number appears nowhere else.
No hypothesis constrains , , etc. outside . If is empty, the unit-norm hypothesis cannot hold, so the statement is vacuous in that case.
Conclusion. There exist a real constant and a natural number , both chosen before and , with the following property. may depend on all the data above and is not required to be positive. For every natural number and every natural with (so ), define:
- for each natural , the matrix exponential
- ;
- the vector
Then
In the first sum, the product is ordered with leftmost and rightmost, and has factors. All natural-number subtractions here stay non-negative because .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.