Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Learning stabilizer states, p. 2 — the Bell outcome is uniform on {t ⊕ s : t ∈ T}

Proved
BellSampling.Learn.bell_outcome_uniform

by mikedeng1 · Oct 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

bell-samplingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stabilizer-states

Let ψ\psiψ be an nnn-qubit stabilizer state with stabilizer set T=T(ψ)T=T(\psi)T=T(ψ). Then there is a string s∈{0,1}2ns\in\{0,1\}^{2n}s∈{0,1}2n such that Bell sampling on ∣ψ⟩⊗2|\psi\rangle^{\otimes2}∣ψ⟩⊗2 returns each rrr with probability

pψ(r)={2−n,r⊕s∈T,0,r⊕s∉T,p_\psi(r)=\begin{cases}2^{-n}, & r\oplus s\in T,\\ 0, & r\oplus s\notin T,\end{cases}pψ​(r)={2−n,0,​r⊕s∈T,r⊕s∈/T,​

i.e. the outcome is uniformly distributed on the coset {t⊕s:t∈T}\{t\oplus s: t\in T\}{t⊕s:t∈T}.

This is the central fact behind Algorithm 1: differences of Bell outcomes land in TTT and are uniform there.

Preamble
import Mathlib
import Definitions.Def_StabilizerRank
import Definitions.Def_BellSampling_Learn_Setting
open StabilizerRank
Formal statement
namespace BellSampling.Learn
theorem bell_outcome_uniform {n : ℕ} (ψ : QState n) (hψ : IsStabilizerState ψ) :
    ∃ s : PStr n, ∀ r : PStr n,
      (r + s ∈ stabSet ψ → bellProb ψ r = 1 / 2 ^ n) ∧
      (r + s ∉ stabSet ψ → bellProb ψ r = 0) := by sorry
end BellSampling.Learn
Source
Montanaro, Learning stabilizer states by Bell sampling, arXiv:1707.04012v2, p. 2, Learning stabilizer states, "By eqn. (1), Bell sampling gives an outcome r which is uniformly distributed on the set {t ⊕ s : t ∈ T} for some s ∈ {0, 1}^{2n}."
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me