Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rxz=⨂iXxiZziR_{xz}=\bigotimes_iX^{x_i}Z^{z_i}Rxz​=⨂i​Xxi​Zzi​ is in the Pauli group C1C_1C1​

Proved
TeleportGates.Ck.pauliFrame_mem_pauliGroup

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

clifford-hierarchyfault-tolerancep2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-informationquantum-teleportation

For every nnn and every outcome strings x,z∈{0,1}nx,z\in\{0,1\}^nx,z∈{0,1}n, the Pauli frame Rxz=⨂iXxiZziR_{xz}=\bigotimes_{i}X^{x_i}Z^{z_i}Rxz​=⨂i​Xxi​Zzi​ is unitary and belongs to the nnn-qubit Pauli group

Rxz∈C1=Pn=⟨ ic σ1⊗⋯⊗σn  :  c∈{0,1,2,3}, σj∈{I,X,Y,Z} ⟩.R_{xz}\in C_1=\mathcal P_n=\langle\, i^{c}\,\sigma_1\otimes\cdots\otimes\sigma_n \;:\; c\in\{0,1,2,3\},\ \sigma_j\in\{I,X,Y,Z\}\,\rangle .Rxz​∈C1​=Pn​=⟨icσ1​⊗⋯⊗σn​:c∈{0,1,2,3}, σj​∈{I,X,Y,Z}⟩.

This is Eq. (4)'s statement that the correction RxzR_{xz}Rxz​ is an operator in C1C_1C1​.

Formalization Note Membership is stated in the subgroup QAlgorithms.pauliGroup n of the unitary group, hence the existential over the unitarity proof. A factor with xi=zi=1x_i=z_i=1xi​=zi​=1 is XZ=−iYXZ=-iYXZ=−iY, so a phase is needed.

Differences from the source:

  • reading: R_xz, an operator in C1 which depends on the outcomes xz (not written out); for one qubit 'X, Y, or Z', 00 the identity → the explicit R_xz = ⊗_i X^{x_i} Z^{z_i} (Z first), with XZ = −iY for x_i = z_i = 1; reason: this is the frame the p. 1 Bell basis (first ket = teleported qubit) and |00⟩ + |11⟩ give, checked by hand and by a proved sanity check for n = 1; the paper's 'Y' is −iY up to a global phase
  • reading: the Pauli group, 'comprised of tensor products of Pauli matrices, with overall sign ±1' (p. 2) → C1 = QAlgorithms.pauliGroup n, the group generated by tensor products of I, X, Y, Z with phases ±1, ±i; reason: the ±1-only set is not closed under products (XZ = −iY), and with it Eq. (4)'s 'R_xz is an operator in C1' fails for x_i = z_i = 1; C_k for k ≥ 2 is the same under either reading, since conjugation by U fixes scalars
  • encoding: R_xz is an operator in C1 (a gate) → ∃ h : R_xz ∈ Matrix.unitaryGroup, ⟨R_xz, h⟩ ∈ pauliGroup n; reason: C1 is a subgroup of the unitary group in Lean, so membership carries the unitarity proof; every element of the paper's C1 is unitary, so no instance changes
Preamble
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Basic
import Definitions.Def_QAlgorithms_Defs_QECC
import Definitions.Def_TeleportGates_Ck_pauliFrame
Formal statement
namespace TeleportGates.Ck

open QAlgorithms

/-- **The Pauli frame `R_{xz}` lies in `C₁`.**
Gottesman, Chuang, *Quantum teleportation is a universal computational primitive*,
arXiv:quant-ph/9908010v1, §II, Eq. (4), p. 3: "where Rxz is an operator in C1
which depends on the (random) Bell basis measurement outcomes xz".

For every `n` and every outcome strings `x z : Qubits n`, the matrix `R_{xz} = ⊗ᵢ X^{xᵢ} Z^{zᵢ}` is
unitary, and as a unitary it belongs to the `n`-qubit Pauli group `P_n` (tensor products of
`I, X, Y, Z` with phases `±1, ±i`).

**Formalization Note.** `C₁` is `QAlgorithms.pauliGroup n`, a subgroup of
`Matrix.unitaryGroup (Qubits n) ℂ`, hence the existential over the unitarity proof. Each factor
`X^{xᵢ} Z^{zᵢ}` is one of `I, Z, X, XZ = −iY`, so the phase `−i` is needed. -/
theorem pauliFrame_mem_pauliGroup (n : ℕ) (x z : Qubits n) :
    ∃ h : pauliFrame n x z ∈ Matrix.unitaryGroup (Qubits n) ℂ,
      (⟨pauliFrame n x z, h⟩ : Matrix.unitaryGroup (Qubits n) ℂ) ∈ pauliGroup n := by sorry

end TeleportGates.Ck
Source
Gottesman, Chuang, Quantum teleportation is a universal computational primitive, arXiv:quant-ph/9908010v1, §II, Eq. (4), p. 3 ('Rxz is an operator in C1')
Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · 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