Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Collective dephasing is weight pinching, (197)–(202)

Open
QAlgorithms.Papers.Independent.Extend50.P47.phase_pinching

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

prove2quantum

Every register has a fixed finite nonempty computational basis. States are positive semidefinite trace-one matrices, and pure vectors have norm one. Write F(ρ,σ)=∥ρσ∥12F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1^2F(ρ,σ)=∥ρ​σ​∥12​ for squared fidelity.

For all n≥0 and every operator ρ, the normalized collective phase conjugation integral is Σk=0^n PkρPk, retaining exactly those matrix entries with equal input/output Hamming weights. A density matrix is invariant iff it equals this pinching.

Cz(n)(X)=∑k=0nPkXPk,Cz(n)(ρ)=ρ  ⟺  ρxy=0 when H(x)≠H(y).\mathcal C_z^{(n)}(X)=\sum_{k=0}^nP_kXP_k,\qquad\mathcal C_z^{(n)}(\rho)=\rho\iff\rho_{xy}=0\text{ when }H(x)\ne H(y).Cz(n)​(X)=k=0∑n​Pk​XPk​,Cz(n)​(ρ)=ρ⟺ρxy​=0 when H(x)=H(y).

XXX is any operator, ρ\rhoρ is a density, HHH denotes Hamming weight, and Cz(n)\mathcal C_z^{(n)}Cz(n)​ is the normalized continuous conjugation integral over [0,4π][0,4\pi][0,4π].

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P47
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P47

open scoped ComplexConjugate ComplexOrder Matrix Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

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

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

variable {G S R P T A B C D R2 S2 : Type*}

variable [Fintype G] [Group G] [DecidableEq G]

variable [Fintype S] [DecidableEq S] [Nonempty S]

variable [Fintype R] [DecidableEq R] [Nonempty R]

variable [Fintype P] [DecidableEq P] [Nonempty P]

variable [Fintype T] [DecidableEq T] [Nonempty T]

variable [Fintype A] [DecidableEq A] [Nonempty A]

variable [Fintype B] [DecidableEq B] [Nonempty B]

variable [Fintype C] [DecidableEq C] [Nonempty C]

variable [Fintype D] [DecidableEq D] [Nonempty D]

variable [Fintype R2] [DecidableEq R2] [Nonempty R2]

variable [Fintype S2] [DecidableEq S2] [Nonempty S2]

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P47.su2MeasurableSpace

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P47.su2BorelSpace

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P47.u2MeasurableSpace

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P47.u2BorelSpace

/-- PDF pp.27–28, (197)–(202): collective dephasing is pinching in all weight
blocks, and its fixed states are block diagonal, not necessarily single-sector. -/
theorem phase_pinching (n : ℕ) :
    (∀ rho : Mat (Qubits n), collectiveZTwirl n rho =
      ∑ k : Fin (n + 1), weightProjector n k.val * rho * weightProjector n k.val) ∧
    (∀ rho : Mat (Qubits n), IsDensityMatrix rho →
      (collectiveZTwirl n rho = rho ↔ ∀ x y, bitHammingWeight x ≠ bitHammingWeight y → rho x y = 0)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P47

end
Source
Testing symmetry on quantum computers, arXiv:2105.12758v3, PDF p. 27, Collective dephasing is weight pinching, (197)–(202)
Read-back

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

For every natural number nnn, let w(x)w(x)w(x) count the true coordinates of a Boolean string xxx of length nnn, let Dn,kD_{n,k}Dn,k​ be diagonal with entry 111 when w(x)=kw(x)=kw(x)=k and 000 otherwise, and let Cn(ϕ)=diag⁡x(exp⁡(i(2w(x)−n)ϕ/2))C_n(\phi)=\operatorname{diag}_x(\exp(i(2w(x)-n)\phi/2))Cn​(ϕ)=diagx​(exp(i(2w(x)−n)ϕ/2)). Every complex matrix ρ\rhoρ on these strings satisfies

14π∫04πCn(ϕ)ρCn(ϕ)† dϕ=∑k=0nDn,kρDn,k.\frac1{4\pi}\int_0^{4\pi}C_n(\phi)\rho C_n(\phi)^\dagger\,d\phi =\sum_{k=0}^nD_{n,k}\rho D_{n,k}.4π1​∫04π​Cn​(ϕ)ρCn​(ϕ)†dϕ=k=0∑n​Dn,k​ρDn,k​.

Moreover, for every such ρ\rhoρ that is positive semidefinite and has trace 111, the integral average equals ρ\rhoρ if and only if ρx,y=0\rho_{x,y}=0ρx,y​=0 for every pair of strings with w(x)≠w(y)w(x)\ne w(y)w(x)=w(y). For n=0n=0n=0, the sum contains only D0,0=ID_{0,0}=ID0,0​=I, and the unequal-weight condition is vacuous.

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

    Confirmed by the moderator at approval.

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