Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

IV B 3: explicit classical simulation for two phase-symmetric qubits

Open
QAlgorithms.Papers.Independent.Extend50.P37.qubit_phase_simulation

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let H2H_2H2​ be the scalar-extended number-phase group on a qubit. For every n≥1n\ge1n≥1 and each sign, any globally H2H_2H2​-symmetric arbitrary-outcome POVM has a locally diagonal simulator with the same statistics on all states supported in that permutation sector.

For two qubits in the symmetric sector the simulator is explicit:

M~(B)=∑z∈{00,01,10,11}tr⁡(M(B)τz)∣z⟩⟨z∣,\widetilde M(B)=\sum_{z\in\{00,01,10,11\}}\operatorname{tr}(M(B)\tau_z)|z\rangle\langle z|,M(B)=z∈{00,01,10,11}∑​tr(M(B)τz​)∣z⟩⟨z∣,

where τ00=∣00⟩⟨00∣\tau_{00}=|00\rangle\langle00|τ00​=∣00⟩⟨00∣, τ11=∣11⟩⟨11∣\tau_{11}=|11\rangle\langle11|τ11​=∣11⟩⟨11∣, and τ01=τ10=∣ϕ+⟩⟨ϕ+∣\tau_{01}=\tau_{10}=|\phi_+\rangle\langle\phi_+|τ01​=τ10​=∣ϕ+​⟩⟨ϕ+​∣ with ∣ϕ+⟩=(∣01⟩+∣10⟩)/2|\phi_+\rangle=(|01\rangle+|10\rangle)/\sqrt2∣ϕ+​⟩=(∣01⟩+∣10⟩)/2​. This is a fixed computational-basis measurement followed by classical processing.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P37
Formal statement
noncomputable section

open MeasureTheory

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P37

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P60 (Mat)

open QAlgorithms.Papers.Independent.Next46.P29 (phaseAverage)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P37.estimationMatrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P37.estimationMatrixBorel

variable {I : Type*} [Fintype I] [DecidableEq I]

/-- PDF pp.15-17, IV B 3: simulation for arbitrary copy number and both signs,
plus the explicit p.16 kernel in the symmetric two-qubit sector. -/
theorem qubit_phase_simulation {O : Type*} [MeasurableSpace O] :
    (∀ n : ℕ, 0 < n → ∀ s : Bool,
      ∀ M : Measurements.OperatorPOVM (Fin n → Fin 2) O,
        InAlgebra M.operator (Set.centralizer (collectiveImage n (phaseGroup 2))) →
        ∃ N : Measurements.OperatorPOVM (Fin n → Fin 2) O,
          InAlgebra N.operator (tensorAlg n (diagonalSet (Fin 2))) ∧
          ∀ rho, IsDensityMatrix rho → permutationSector (Fin 2) n s * rho * permutationSector (Fin 2) n s = rho →
            ∀ B, MeasurableSet B → effectProb (M.operator B) rho = effectProb (N.operator B) rho) ∧
    (∀ M : Measurements.OperatorPOVM (Fin 2 → Fin 2) O,
      InAlgebra M.operator (Set.centralizer (collectiveImage 2 (phaseGroup 2))) →
      ∃ N : Measurements.OperatorPOVM (Fin 2 → Fin 2) O,
        (∀ B, MeasurableSet B → N.operator B =
          ∑ z : Fin 2 → Fin 2, (effectProb (M.operator B) (qubitFilling false z) : ℂ) •
            pureDensity (pairBasisKet 2 (z 0) (z 1))) ∧
        ∀ rho, IsDensityMatrix rho →
          permutationSector (Fin 2) 2 false * rho * permutationSector (Fin 2) 2 false = rho →
          ∀ B, MeasurableSet B → effectProb (M.operator B) rho = effectProb (N.operator B) rho) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P37

end
Source
A generalization of Schur-Weyl duality with applications in quantum estimation, arXiv:1112.0638v3, PDF p. 16, IV B 3: explicit classical simulation for two phase-symmetric qubits
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every measurable outcome space OOO, the following two assertions hold. First, for every natural number n>0n>0n>0, every Boolean sss, and every operator-valued measure MMM on OOO with matrices indexed by nnn-bit strings, suppose that each measurable-set value M(B)M(B)M(B) commutes with every U⊗nU^{\otimes n}U⊗n, where

U=diag⁡ ⁣(eia,ei(a+t)),a,t∈R.U=\operatorname{diag}\!\left(e^{\mathrm ia},e^{\mathrm i(a+t)}\right), \qquad a,t\in\mathbb R.U=diag(eia,ei(a+t)),a,t∈R.

Then there exists an operator-valued measure NNN whose measurable-set values belong to the unital complex algebra generated by all tensor products of nnn diagonal 2×22\times22×2 complex matrices, such that for every positive semidefinite trace-one matrix ρ\rhoρ satisfying PsρPs=ρP_s\rho P_s=\rhoPs​ρPs​=ρ and every measurable B⊆OB\subseteq OB⊆O,

Re⁡Tr⁡(M(B)ρ)=Re⁡Tr⁡(N(B)ρ),Ps=1n!∑π∈Sn{Uπ,s=false,sgn⁡(π)Uπ,s=true,\operatorname{Re}\operatorname{Tr}(M(B)\rho) =\operatorname{Re}\operatorname{Tr}(N(B)\rho), \qquad P_s=\frac1{n!}\sum_{\pi\in S_n} \begin{cases} U_\pi,&s=\mathrm{false},\\ \operatorname{sgn}(\pi)U_\pi,&s=\mathrm{true}, \end{cases}ReTr(M(B)ρ)=ReTr(N(B)ρ),Ps​=n!1​π∈Sn​∑​{Uπ​,sgn(π)Uπ​,​s=false,s=true,​

with (Uπ)y,x=1{y=x∘π−1}(U_\pi)_{y,x}=\mathbf1_{\{y=x\circ\pi^{-1}\}}(Uπ​)y,x​=1{y=x∘π−1}​. Second, for every operator-valued measure MMM on two qubits whose measurable-set values commute with all the same collective phase matrices U⊗UU\otimes UU⊗U, there exists an operator-valued measure NNN satisfying, for every measurable BBB,

N(B)=∑z∈{0,1}2Re⁡Tr⁡(M(B)Q(z)) ∣z⟩⟨z∣,N(B)=\sum_{z\in\{0,1\}^2} \operatorname{Re}\operatorname{Tr}(M(B)Q(z))\,|z\rangle\langle z|,N(B)=z∈{0,1}2∑​ReTr(M(B)Q(z))∣z⟩⟨z∣,

where ∣z⟩|z\rangle∣z⟩ is the coordinate vector at zzz, Q(00)=∣00⟩⟨00∣Q(00)=|00\rangle\langle00|Q(00)=∣00⟩⟨00∣, Q(11)=∣11⟩⟨11∣Q(11)=|11\rangle\langle11|Q(11)=∣11⟩⟨11∣, and Q(01)=Q(10)=β+β+†Q(01)=Q(10)=\beta_+\beta_+^\daggerQ(01)=Q(10)=β+​β+†​ with β+=(∣01⟩+∣10⟩)/2\beta_+=(|01\rangle+|10\rangle)/\sqrt2β+​=(∣01⟩+∣10⟩)/2​; this NNN has the same event probabilities as MMM on every density matrix ρ\rhoρ satisfying PfalseρPfalse=ρP_{\mathrm{false}}\rho P_{\mathrm{false}}=\rhoPfalse​ρPfalse​=ρ. In both assertions, tensor powers have entries (U⊗n)x,y=∏i<nUxi,yi(U^{\otimes n})_{x,y}=\prod_{i<n}U_{x_i,y_i}(U⊗n)x,y​=∏i<n​Uxi​,yi​​, and an operator-valued measure is defined on all subsets of OOO, equals 000 on the empty set and 111 on OOO, is positive semidefinite on measurable sets, and is countably additive on pairwise disjoint measurable sets. The first assertion includes n=1n=1n=1; when s=trues=\mathrm{true}s=true and n>2n>2n>2, Ps=0P_s=0Ps​=0, so no density matrix satisfies its support hypothesis.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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