Bell difference sampling
OpenQAlgorithms.Papers.Independent.Extend50.P30.bellDifferenceSamplingLet be an arbitrary normalized, possibly complex state of qubits. Write for its characteristic distribution, and for the four-copy Bell difference measurement outcome . For every phase-space label , the outcome probability is the convolution below. If is a stabilizer state, it equals .
This gives the source's bell difference sampling in the fixed computational-basis and phase conventions.
Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
noncomputable section
open scoped BigOperators ComplexConjugate Matrix
namespace QAlgorithms.Papers.Independent.Extend50.P30
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)
attribute [local instance] Classical.propDecidable
/-- PDF p.19, Theorem 3.2: arbitrary complex pure states and the stabilizer specialization. -/
theorem bellDifferenceSampling (n : ℕ) (v : EuclideanSpace ℂ (ResidueRegister 2 n))
(hv : ‖v‖ = 1) (a : DiscretePhaseSpace 2 n) :
QAlgorithms.effectProb (bellDifference n a) (tensorPower 4 (QAlgorithms.pureDensity v)) =
∑ x : DiscretePhaseSpace 2 n, characteristicDistribution v x * characteristicDistribution v (x + a) ∧
(IsStabilizer v →
QAlgorithms.effectProb (bellDifference n a) (tensorPower 4 (QAlgorithms.pureDensity v)) =
characteristicDistribution v a) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every , write and . For , define when , and zero otherwise. Define by , write for a vector’s rank-one matrix, and set on four copies of . For every vector with , define . Then, for every ,
Moreover, if is a stabilizer in the following explicit sense, this same quantity equals : let ; there is a finite subset containing the identity, closed under multiplication and adjoints, and satisfying for every and , such that , where . Tensor powers here have entries . The assertion includes .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.