Documentation

MIPRE.Background.Introspection.PauliSamplerExtension

The executable five-level introspection sampler #

The canonical Pauli sampler extends to all introspection types and is then detyped along the actual type graph. The program is uniformly compiled from the binary boundedness parameter. Its positive-index budget includes both routers and the graph register; the final verifier handles zero separately.

noncomputable def MIPRE.Introspection.PauliSampler.fullSampler (c : ℕ) (hc : 1 ≤ c) (he : Even c) (ℓ lam : ℕ) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MIPRE.Introspection.PauliSampler.fullSampler_dim (c : ℕ) (hc : 1 ≤ c) (he : Even c) (ℓ lam n : ℕ) :
    (fullSampler c hc he ℓ lam).dim n = 4 * (Fintype.card QLD.Ty + 2 * ℓ + 6) + dimension c lam n
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MIPRE.Introspection.PauliSampler.fullCompiler_apply (c : ℕ) (hc : 1 ≤ c) (he : Even c) (ℓ lam : ℕ) :
      (fullCompiler c ℓ).toFun lam = (fullSampler c hc he ℓ lam).prog
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MIPRE.Introspection.PauliSampler.fullCoefficient (c ℓ lam n : ℕ) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MIPRE.Introspection.PauliSampler.fullSampler_timeBoundAt (c : ℕ) (hc : 1 ≤ c) (he : Even c) (ℓ lam n : ℕ) :
          (fullSampler c hc he ℓ lam).TimeBoundAt n (fullCoefficient c ℓ lam n) (fullDegree ℓ)
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MIPRE.Introspection.PauliSampler.fullCoefficient_le_majorant {c ℓ lam n v : ℕ} (hc : 1 ≤ c) (hl : lam ≤ v) (hn : n ≤ v) (hu : lam * n ≤ v) :
              fullCoefficient c ℓ lam n ≤ fullMajorant c ℓ v
              theorem MIPRE.Introspection.PauliSampler.fullSampler_uniform_bound (c : ℕ) (hc : 1 ≤ c) (he : Even c) (ℓ : ℕ) :
              ∃ (C : ℕ), ∀ (lam n : ℕ), 1 ≤ lam → 1 ≤ n → (fullSampler c hc he ℓ lam).TimeBoundAt n ((lam * n + 1) ^ C) C ∧ (fullSampler c hc he ℓ lam).dim n ≤ (lam * n + 1) ^ C

              Both routers preserve the single uniform positive-index budget.