Finite probability calculations for adaptive stabilizer learning #
These are finite counting identities and real inequalities used in the paper. They do not assert the quantum measurement laws, independence of physical samples, or stochastic domination of a history-dependent stopping time.
The uniform probability mass function on a nonempty finite type.
Equations
- LeanPool.SingleCopyStabilizer.FiniteProbability.uniformPMF α = PMF.ofFintype (fun (x : α) => (↑(Fintype.card α))⁻¹) ⋯
Instances For
The collision mass of a finite vector of class probabilities.
Equations
- LeanPool.SingleCopyStabilizer.FiniteProbability.collisionMass p = ∑ a : A, p a ^ 2
Instances For
For independent draws with weights p, the diagonal of the product
weight has total mass ∑ a, p a².
Cauchy--Schwarz in the form used for the coset collision estimate.
At most 2^r cosets give the paper's collision lower bound 2^(-r).
The expression on the left is written 1 / 2^r to use natural exponents.
Fixing a difference leaves precisely one free outcome: (x,y) ↦ y,
with inverse y ↦ (u+y,y).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Translating both samples by the same affine offset leaves their additive difference unchanged.
Every difference has exactly #G ordered representations in G × G.
Thus the difference of two independent uniform samples is uniform, expressed as the ratio of favorable ordered pairs to all ordered pairs.
The probability-mass-function pushforward of the uniform ordered-pair
distribution under subtraction is exactly the uniform distribution on G.
The mass of one specified within-class difference when each class is
uniform internally and class a has mass p a.
Equations
- LeanPool.SingleCopyStabilizer.FiniteProbability.sameClassDifferenceMass p u = ∑ a : A, ∑ _xy : { xy : G × G // xy.1 - xy.2 = u }, p a / ↑(Fintype.card G) * (p a / ↑(Fintype.card G))
Instances For
Within-class differences all have the same mass, namely collision mass divided by the size of the common translation group.
Summing the nonzero within-class differences gives exactly the factor
collisionMass p * (1 - 1 / #G) used in the nullity argument.
The low-nullity nonzero collision estimate, with the class and translation-space cardinality assumptions displayed explicitly.
A numerical survival recurrence gives the usual geometric tail. The recurrence is an explicit hypothesis, not a proved law of the algorithm.
A finite sum of survival terms is bounded by the corresponding finite geometric sum, written in closed form.
Thus every finite truncation of the tail sum is at most 1/p.
Connecting this to a random variable's expectation is a separate step.
The success parameter for a positive codimension j.
Equations
- LeanPool.SingleCopyStabilizer.FiniteProbability.progressProbability j = (1 - (1 / 2) ^ j) / 2
Instances For
Every positive level has progress parameter at least one quarter.
The paper's strict numerical bound on the sum of reciprocal progress parameters. The connection to expected waiting times is not assumed here.