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.
@[reducible, inline]
Equations
Instances For
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
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 : ℕ)
:
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.fullSampler_timeBoundAt
(c : ℕ)
(hc : 1 ≤ c)
(he : Even c)
(ℓ lam n : ℕ)
:
(fullSampler c hc he ℓ lam).TimeBoundAt n (fullCoefficient c ℓ lam n) (fullDegree ℓ)
theorem
MIPRE.Introspection.PauliSampler.routeCost_eval_mono
(r : Cost.PolyTimeFun Cost.Data (Bool × Cost.Data))
(p : Cost.PolyTimeFun (Cost.Data × Cost.Data) Cost.Data)
(k : ℕ)
{B B' x x' : ℕ}
(hB : B ≤ B')
(hx : x ≤ x')
:
theorem
MIPRE.Introspection.PauliSampler.routeCost_polyBounded
(r : Cost.PolyTimeFun Cost.Data (Bool × Cost.Data))
(p : Cost.PolyTimeFun (Cost.Data × Cost.Data) Cost.Data)
(k : ℕ)
{B : ℕ → ℕ}
(hB : Cost.PolyBounded B)
:
Cost.PolyBounded fun (v : ℕ) => Polynomial.eval (4 * v + 3) (Cost.Prog.routeCost r p (B v) k)
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.fullMajorant_polyBounded
(c ℓ : ℕ)
:
Cost.PolyBounded (fullMajorant c ℓ)
theorem
MIPRE.Introspection.PauliSampler.fullSampler_uniform_bound
(c : ℕ)
(hc : 1 ≤ c)
(he : Even c)
(ℓ : ℕ)
:
Both routers preserve the single uniform positive-index budget.