Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Preliminaries, p. 1 — the Bell basis is a basis: Bell-sampling probabilities sum to 1

Proved
BellSampling.Learn.bellProb_sum_eq_one

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

bell-samplingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let ψ\psiψ be a unit vector of nnn qubits, ∑x∣ψ(x)∣2=1\sum_x|\psi(x)|^2=1∑x​∣ψ(x)∣2=1. Then the probabilities of the 4n4^n4n outcomes of Bell sampling on ∣ψ⟩⊗2|\psi\rangle^{\otimes 2}∣ψ⟩⊗2 sum to one:

∑r∈{0,1}2npψ(r)=1.\sum_{r\in\{0,1\}^{2n}} p_\psi(r)=1.r∈{0,1}2n∑​pψ​(r)=1.

This is the content of "the Bell basis, i.e. the ordered basis of C4\mathbb C^4C4": the vectors ∣σr⟩|\sigma_r\rangle∣σr​⟩ form an orthonormal basis of the 2n2n2n-qubit space, so pψp_\psipψ​ is a probability distribution. It ties the success form of the mission's goal ("succeeds with probability at least 1−2−n1-2^{-n}1−2−n") to the page's failure form ("fails with probability at most 2−n2^{-n}2−n").

Preamble
import Mathlib
import Definitions.Def_StabilizerRank
import Definitions.Def_BellSampling_Learn_Setting
open StabilizerRank
Formal statement
namespace BellSampling.Learn
theorem bellProb_sum_eq_one {n : ℕ} (ψ : QState n) (hψ : ∑ x, ‖ψ x‖ ^ 2 = 1) :
    ∑ r, bellProb ψ r = 1 := by sorry
end BellSampling.Learn
Source
Montanaro, Learning stabilizer states by Bell sampling, arXiv:1707.04012v2, p. 1, Preliminaries, "the Bell basis, i.e. the ordered basis of C⁴ which we define by"
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