Kothari: optimal quantum (N,M)-query complexity of exact learning
OpenQAlgorithms.LearningSurvey.kothari_quantum_NM_exact_thetaThis is Kothari's tight characterization of the quantum -query complexity of exact learning.
Let . For an integer , the quantum -query complexity is the maximum, over concept classes with , of the least number of queries to made by a quantum exact learner for (success probability at least on every target). There are absolute constants such that:
- if , then ;
- if , then, with ,
Compared with the classical of Theorem 4.5, it quantifies the quantum speed-up for oracle identification.
Formalization Note is excluded from the first case (a single concept needs no queries). In the second case , so the denominator is at least . Logarithms are base 2; another base changes the expression only by bounded factors.
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
namespace QAlgorithms.LearningSurvey
universe u
/-- **Theorem 4.6** (Kothari; survey p.10). The quantum `(N, M)`-query complexity of exact
learning (`N = 2^n`) is `Θ(√M)` for `M ≤ N` and
`Θ(√(N log M / (log(N / log M) + 1)))` for `N < M ≤ 2^N` (logarithms base 2). -/
theorem kothari_quantum_NM_exact_theta :
∃ c₁ c₂ : ℝ, 0 < c₁ ∧ 0 < c₂ ∧ ∀ (n M : ℕ),
(2 ≤ M → M ≤ 2 ^ n →
c₁ * Real.sqrt (M : ℝ) ≤ (Learning.quantumExactNM n M : ℝ) ∧
(Learning.quantumExactNM n M : ℝ) ≤ c₂ * Real.sqrt (M : ℝ)) ∧
(2 ^ n < M → M ≤ 2 ^ (2 ^ n) →
c₁ * Real.sqrt (((2 ^ n : ℕ) : ℝ) * Real.logb 2 (M : ℝ) /
(Real.logb 2 (((2 ^ n : ℕ) : ℝ) / Real.logb 2 (M : ℝ)) + 1)) ≤
(Learning.quantumExactNM n M : ℝ) ∧
(Learning.quantumExactNM n M : ℝ) ≤
c₂ * Real.sqrt (((2 ^ n : ℕ) : ℝ) * Real.logb 2 (M : ℝ) /
(Real.logb 2 (((2 ^ n : ℕ) : ℝ) / Real.logb 2 (M : ℝ)) + 1))) := by
sorry
end QAlgorithms.LearningSurvey
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Quantum exact complexity. Concepts, -query quantum algorithms with XOR oracle , and exact learning with success probability for each are as in the first entry. is the least such that some -query algorithm with workspace (some ) and some output map exactly learn . It is if no such exists.
Worst case over classes of size . Let
over sets of concepts , with the value if there are none.
Statement. There are constants such that for all both of the following hold.
- If , then
- If , then
Both are implications, so for outside both ranges nothing is asserted.
Edge case: for , case 1 is vacuous. Case 2 applies only to , where the expression under the root equals .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.