Corollary 2.9 — after queries the input register has Fourier degree at most
ProvedQNoiseStab.corollary_2_9Work over the domain with a uniformly random input. Let be any -query algorithm with phase queries , where , and let be its state after queries on input . Then the purified state is a linear combination of states whose input register is a Fourier basis state with at most nonzero entries. Equivalently, for every computational-basis state of the registers and every with ,
This is the structural input of Theorem 3.5: the state of every branch of the measured algorithm registers lies in .
Formalization Note The Fourier basis uses the primitive root ; the oracle root is any -th root of unity. The algorithm is the published QAlgorithms.QueryAlg with an arbitrary finite workspace.
Differences from the source:
- encoding: "a linear combination of states whose input register in the Fourier basis has … at most non-0 entries" → every Fourier coefficient with vanishes, for every basis state of ; reason: the coefficient of in the purified uniform state is times this sum, so the two statements are equivalent
- encoding: an algorithm "that makes at most queries" → the intermediate state
alg.stateAt _ tafter queries of a -query algorithm; reason: an algorithm that has made queries has weight at most ; every such state is somestateAt - encoding: initial state followed by → the published
QueryAlgwith an arbitrary input-independent unitstart; reason: the two give the same class of algorithms - generalization: "some fixed d'th root of unity" (p.6) → any with ; reason: covers every fixed root the source may mean, including the primitive one
- encoding: domain , inputs , phases →
ZMod d, inputsFin n → ZMod d, query registerFin n; reason: Lean conventions; 0-based indices
import Mathlib import Definitions.Def_QAlgorithms_Defs_Query import Definitions.Def_QNoiseStab_phaseQuery import Definitions.Def_QNoiseStab_fourierWeight import Definitions.Def_QNoiseStab_fourierVec
namespace QNoiseStab
/-- **Corollary 2.9** (Beame–Holman–Kornerup, *A Noise Operator Approach to Quantum Query
Complexity and Time-Space Tradeoff Lower Bounds*, arXiv:2609.40334 (version of 2026-11-02, sha256
814fe20e…), p.10, in the setting of p.9: "We focus on the domain X = Zm and the input
distribution being the uniform distribution on Xn"). The state of any quantum query algorithm
that makes at most `t` queries to its input is a linear combination of states whose input register
in the Fourier basis `|ẑ⟩` has the property that `z` contains at most `t` non-0 entries.
Stated for every `T`-query algorithm `alg` with phase queries `phaseQuery ω x` (`ω ^ d = 1`) on
inputs `x ∈ Z_dⁿ`, every number of queries `t ≤ T` (the intermediate state `alg.stateAt _ t`),
every computational basis state `q` of the algorithm registers `QPW`, and every frequency `z` with
more than `t` nonzero entries: `Σ_x conj(⟨x|ẑ⟩) · ⟨q|ψ_t^x⟩ = 0`.
**Formalization Note** For the uniform input the joint state after `t` queries is
`Σ_x d^{-n/2} |ψ_t^x⟩|x⟩`; its input-register component at the basis state `q` is
`φ_q = Σ_x d^{-n/2} ψ_t^x(q) |x⟩`, and `⟨ẑ|φ_q⟩` is `d^{-n/2}` times the displayed sum. "A linear
combination of `|q⟩ ⊗ |ẑ⟩` with at most `t` nonzero `z_i`" is exactly the vanishing of this sum for
every `q` and every `z` of weight `> t`. The Fourier basis uses the primitive root `exp(2πi/d)`;
the oracle root `ω` is any `d`-th root of unity. -/
theorem corollary_2_9 {W : Type} [Fintype W] [DecidableEq W] {n d T : ℕ} [NeZero d] (ω : ℂ)
(hω : ω ^ d = 1) (alg : QAlgorithms.QueryAlg (Fin n) (ZMod d) W T) (t : Fin (T + 1))
(q : (Fin n × ZMod d) × W) (z : Fin n → ZMod d) (hz : t.val < fourierWeight z) :
∑ x : Fin n → ZMod d, star (fourierVec z x) * alg.stateAt (phaseQuery ω x) t q = 0 := by sorry
end QNoiseStab
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.