A class of size at most M needing Ω(√((N−k+1)k)) quantum membership queries
ProvedQAlgorithms.Arunachalam.exactLearning_NM_lowerBoundThis is the lower-bound lemma behind Kothari's characterization of the -quantum query complexity of exact learning.
A concept is an -bit string (its truth table on ), and a concept class is a set . A quantum exact learner for is a -query algorithm acting on a fixed start state, with unitaries independent of , a finite workspace, and the membership oracle ; it must output with probability at least for every .
There is an absolute constant such that for all there exists with such that, for every integer with and , every quantum exact learner for making queries satisfies
Together with Fact 6.4.9 this gives the lower bound of Theorem 6.4.7 for .
Formalization Note The learner is the frozen QueryAlg with the XOR oracle and an arbitrary finite workspace type; the Ω-constant is quantified before and . The range is the one of the proof (Hamming weights and ).
import Definitions.Def_QAlgorithms_Defs_Learning set_option autoImplicit false
namespace QAlgorithms.Arunachalam
open QAlgorithms.Learning
/-- Arunachalam p.133, Lemma 6.4.8: there is a concept class `C ⊆ {0,1}^N` with `|C| ≤ M` such
that every quantum exact learner for `C` (XOR membership oracle `QMQ(c)`, success probability
`≥ 2/3` on every `c ∈ C`, §6.3.1) makes `Ω(√((N − k + 1) k))` queries, for every `k ∈ [1, N]`
with `binom(N, k−1) + binom(N, k) ≤ M`. The constant of `Ω` is universal (chosen before `N`,
`M`); the learner may use any finite workspace (internal randomness via start state and
workspace). -/
theorem exactLearning_NM_lowerBound :
∃ c0 : ℝ, 0 < c0 ∧ ∀ N M : ℕ, ∃ C : Finset (Fin N → Bool), C.card ≤ M ∧
∀ k : ℕ, 1 ≤ k → k ≤ N → N.choose (k - 1) + N.choose k ≤ M →
∀ (W : Type) [Fintype W] [DecidableEq W] (T : ℕ) (A : QueryAlg (Fin N) Bool W T)
(out : (Fin N × Bool) × W → (Fin N → Bool)),
IsQExactLearner A out C →
c0 * Real.sqrt ((((N - k + 1 : ℕ) : ℝ)) * (k : ℝ)) ≤ (T : ℝ) := by
sorry
end QAlgorithms.Arunachalam
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement asserts that there is a real constant such that for all natural numbers and there exists a concept class with the following property. Here is a finite set of Boolean functions with . The class may depend on and only.
For every natural number satisfying
and for every quantum -query exact learner of , the number of queries satisfies
Since , the quantity involves no truncated subtraction.
The learner. It consists of:
- an arbitrary finite workspace index set (in the lowest universe, with decidable equality);
- a number ;
- a query algorithm , given by:
- a unit vector in ;
- unitaries on that space;
- an output map from basis labels to Boolean functions on .
Running the learner. For a concept , the oracle is , where is the XOR oracle
Here addition on is XOR. The final state is
Exact learning. " is an exact learner of with output map " means: for every ,
That is, a computational-basis measurement of the final state yields a label with with probability at least .
Edge cases.
- If , or if no satisfies the binomial condition (e.g. small), the inner claim is vacuous.
- If is empty, no unit start vector exists, so there is no such .
- If were empty, every algorithm, including one with , would count as an exact learner of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.