Canonical parameters for the executable Pauli sampler #
The selector width, field width and point dimension are computed from the same canonical parameters as the source compiler. The program returns unary parameters, which are the input format of the uniform field algorithms.
Equations
- MIPRE.Introspection.PauliSamplerParameters.selectorBits c lam n = (c * MIPRE.Introspection.SourceCompiler.canonicalLog lam n + 1).size - 1
Instances For
instance
MIPRE.Introspection.PauliSamplerParameters.fieldBits_neZero
(c lam n : ℕ)
:
NeZero (SourceCompiler.fieldBits c lam n)
theorem
MIPRE.Introspection.PauliSamplerParameters.fieldBits_odd
{c : ℕ}
(hc : Even c)
(lam n : ℕ)
:
Odd (SourceCompiler.fieldBits c lam n)
theorem
MIPRE.Introspection.PauliSamplerParameters.canonicalLog_lt_registerPower
{c : ℕ}
(hc : 2 ≤ c)
(lam n : ℕ)
:
theorem
MIPRE.Introspection.PauliSamplerParameters.selectorBits_le_fieldBits
{c : ℕ}
(hc : 1 ≤ c)
(lam n : ℕ)
:
theorem
MIPRE.Introspection.PauliSamplerParameters.four_le_registerBits
{c : ℕ}
(hc : 2 ≤ c)
(lam n : ℕ)
:
theorem
MIPRE.Introspection.PauliSamplerParameters.originalBound_three_le_registerBits
{c : ℕ}
(hc : 2 ≤ c)
(lam n : ℕ)
:
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Retain the selector width while its power of two is computed.
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
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MIPRE.Introspection.PauliSamplerParameters.prog_closed
(c : ℕ)
:
Cost.Prog.WellScoped 1 (prog c)
theorem
MIPRE.Introspection.PauliSamplerParameters.prog_runs
(c lam n : ℕ)
:
∃ (time : ℕ), (prog c).Runs (Cost.encode (lam, n)) (Cost.encode (parameters c lam n)) time