Documentation

LeanPool.LeanQuantumAlg.Util.Concentration

Probabilistic exponential concentration #

The engine behind exponential concentration of quantum kernels (Thanasilp et al. 2022): a [0,1]-valued random variable with an exponentially small mean has an exponentially small variance, and hence (by Chebyshev) concentrates exponentially around its mean. Quantum-free; built on Mathlib's variance and Chebyshev inequality.

theorem QuantumAlg.variance_le_mean {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {X : Ω} (hX : MeasureTheory.MemLp X 2 μ) (h0 : 0 ≤ᵐ[μ] X) (h1 : X ≤ᵐ[μ] 1) :
ProbabilityTheory.variance X μ (ω : Ω), X ω μ

For a [0,1]-valued random variable on a probability space, the variance is at most the mean (since X² ≤ X).

def QuantumAlg.ExpConcentratedProb {Ω : Type u_2} [(n : ) → MeasurableSpace (Ω n)] (μ : (n : ) → MeasureTheory.Measure (Ω n)) (X : (n : ) → Ω n) :

Probabilistic exponential concentration of a family of random variables X n : Ω n → ℝ (each on a probability space μ n): the probability of deviating from the mean by δ is at most C / (bⁿ δ²) for some b > 1.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem QuantumAlg.expConcentratedProb_of_variance_le {Ω : Type u_2} [(n : ) → MeasurableSpace (Ω n)] (μ : (n : ) → MeasureTheory.Measure (Ω n)) [∀ (n : ), MeasureTheory.IsProbabilityMeasure (μ n)] (X : (n : ) → Ω n) (hmem : ∀ (n : ), MeasureTheory.MemLp (X n) 2 (μ n)) {b : } (hb : 1 < b) {C : } (hC : 0 C) (hvar : ∀ (n : ), ProbabilityTheory.variance (X n) (μ n) C / b ^ n) :

    An exponentially small variance gives probabilistic exponential concentration (Chebyshev applied uniformly in n).

    theorem QuantumAlg.expConcentratedProb_of_mean_le {Ω : Type u_2} [(n : ) → MeasurableSpace (Ω n)] (μ : (n : ) → MeasureTheory.Measure (Ω n)) [∀ (n : ), MeasureTheory.IsProbabilityMeasure (μ n)] (X : (n : ) → Ω n) (hmem : ∀ (n : ), MeasureTheory.MemLp (X n) 2 (μ n)) (h0 : ∀ (n : ), 0 ≤ᵐ[μ n] X n) (h1 : ∀ (n : ), X n ≤ᵐ[μ n] 1) {b : } (hb : 1 < b) {C : } (hC : 0 C) (hmean : ∀ (n : ), (ω : Ω n), X n ω μ n C / b ^ n) :

    A [0,1]-valued family with exponentially small mean concentrates exponentially.

    theorem QuantumAlg.ExpConcentratedProb.tendsto_zero {Ω : Type u_2} [(n : ) → MeasurableSpace (Ω n)] {μ : (n : ) → MeasureTheory.Measure (Ω n)} {X : (n : ) → Ω n} (h : ExpConcentratedProb μ X) {δ : } ( : 0 < δ) :
    Filter.Tendsto (fun (n : ) => (μ n) {ω : Ω n | δ |X n ω - (x : Ω n), X n x μ n|}) Filter.atTop (nhds 0)

    Under exponential concentration, the deviation probability vanishes as n → ∞ (for each fixed δ > 0): the landscape becomes flat and a polynomial shot budget cannot resolve the kernel.