Documentation

MIPRE.Background.Introspection.PauliSampler

The canonical index-dependent executable Pauli sampler #

The field, selector, basis and question dimension are the canonical index-dependent choices. The sampler program computes these parameters from the index and calls the uniform query router. Its semantic family uses the effective Shoup self-dual basis, and all query contracts concern the actual numbered binary vectors.

This is the canonical positive-index component. The final introspection compiler must wrap the detyped sampler with a zero-dimensional fallback at zero index (and zero boundedness parameter) to respect its all-index budget.

noncomputable def MIPRE.Introspection.PauliSampler.presentation (c : ℕ) (hc : 1 ≤ c) (he : Even c) (lam n : ℕ) (T : QLD.Ty) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MIPRE.Introspection.PauliSampler.presentation_exactlyOn (c : ℕ) (hc : 1 ≤ c) (he : Even c) (lam n : ℕ) (T : QLD.Ty) :

    Route the index to parameter generation and retain the complete raw query.

    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.query_linear (c : ℕ) (hc : 1 ≤ c) (he : Even c) (lam n : ℕ) (w : Player) (T : QLD.Ty) (r : ℕ) (u y : Cost.BitStr) (hr1 : 1 ≤ r) (hr3 : r ≤ 3) (hu : List.length u = dimension c lam n) (hy : List.length y = dimension c lam n) :
        noncomputable def MIPRE.Introspection.PauliSampler.sampler (c : ℕ) (hc : 1 ≤ c) (he : Even c) (lam : ℕ) :

        The actual uniform three-level Pauli sampler at canonical parameters.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The compiler copies only the binary encoding of the boundedness parameter.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For