Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§7.1: equatorial measurement as projected teleportation

Proved
QAlgorithms.Papers.Independent.Intakenext100.P52.equatorial_measurement_as_projected_teleportation

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

prove2quantum

For real θ\thetaθ, define W(θ)=Hdiag⁡(1,eiθ)W(\theta)=H\operatorname{diag}(1,e^{i\theta})W(θ)=Hdiag(1,eiθ), ∣H⟩=CZ∣++⟩|H\rangle=CZ|++\rangle∣H⟩=CZ∣++⟩, and ∣aj⟩=(W(−θ)†σj⊗I)∣H⟩|a_j\rangle=(W(-\theta)^\dagger\sigma_j\otimes I)|H\rangle∣aj​⟩=(W(−θ)†σj​⊗I)∣H⟩, with σj=I,X,Z,XZ\sigma_j=I,X,Z,XZσj​=I,X,Z,XZ. These four kets are orthonormal and equal

∣a0,1⟩=∣00⟩±eiθ∣11⟩2,∣a2,3⟩=∣01⟩±eiθ∣10⟩2.|a_{0,1}\rangle=\frac{|00\rangle\pm e^{i\theta}|11\rangle}{\sqrt2},\qquad |a_{2,3}\rangle=\frac{|01\rangle\pm e^{i\theta}|10\rangle}{\sqrt2}.∣a0,1​⟩=2​∣00⟩±eiθ∣11⟩​,∣a2,3​⟩=2​∣01⟩±eiθ∣10⟩​.

Let F=∣0⟩⟨00∣+∣1⟩⟨11∣F=|0\rangle\langle00|+|1\rangle\langle11|F=∣0⟩⟨00∣+∣1⟩⟨11∣ and ∣ms⟩=(∣0⟩+(−1)seiθ∣1⟩)/2|m_s\rangle=(|0\rangle+(-1)^s e^{i\theta}|1\rangle)/\sqrt2∣ms​⟩=(∣0⟩+(−1)seiθ∣1⟩)/2​. Then F†∣ms⟩⟨ms∣F=∣as⟩⟨as∣F^\dagger|m_s\rangle\langle m_s|F=|a_s\rangle\langle a_s|F†∣ms​⟩⟨ms​∣F=∣as​⟩⟨as​∣ for s=0,1s=0,1s=0,1, while F∣aj⟩⟨aj∣F†=0F|a_j\rangle\langle a_j|F^\dagger=0F∣aj​⟩⟨aj​∣F†=0 for j=2,3j=2,3j=2,3. This is the exact two-outcome conditional measurement identity on the projected site, rather than a method for deterministic postselection.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P52
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate

namespace QAlgorithms.Papers.Independent.Intakenext100.P52

open QAlgorithms.Papers.Independent.Information100.P21 (Vec)

open QAlgorithms.Papers.Independent.Gap20.P01 (applyRect)

/-- Projected teleportation, PDF pp.17–18: all four kets and their even/odd
placement, and the exact pullback of the two normalized equatorial effects.
Odd alternatives vanish upon projection; this is a conditional identity, not
a deterministic postselection procedure for an arbitrary teleportation. -/
theorem equatorial_measurement_as_projected_teleportation (theta : ℝ) :
    (∀ a : Fin 4, cutDownKet theta a = cutDownFormula theta a) ∧
    Orthonormal ℂ (cutDownKet theta) ∧
    (∀ p : QubitPair, p.1 ≠ p.2 → cutDownKet theta 0 p = 0 ∧ cutDownKet theta 1 p = 0) ∧
    (∀ p : QubitPair, p.1 = p.2 → cutDownKet theta 2 p = 0 ∧ cutDownKet theta 3 p = 0) ∧
    (∀ s : Bool, fuseᴴ * pureDensity (equatorial theta s) * fuse =
      pureDensity (cutDownKet theta (if s then 1 else 0))) ∧
    fuse * pureDensity (cutDownKet theta 2) * fuseᴴ = 0 ∧
    fuse * pureDensity (cutDownKet theta 3) * fuseᴴ = 0 := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P52

end
Source
An introduction to measurement based quantum computation, arXiv:quant-ph/0508124v2, PDF p. 17, §7.1: equatorial measurement as projected teleportation
Read-back

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

For every real θ\thetaθ, let H=12(111−1)H=\frac1{\sqrt2}\left(\begin{smallmatrix}1&1\\1&-1\end{smallmatrix}\right)H=2​1​(11​1−1​), X=(0110)X=\left(\begin{smallmatrix}0&1\\1&0\end{smallmatrix}\right)X=(01​10​), Z=diag⁡(1,−1)Z=\operatorname{diag}(1,-1)Z=diag(1,−1), W(t)=Hdiag⁡(1,eit)W(t)=H\operatorname{diag}(1,e^{it})W(t)=Hdiag(1,eit), (B0,B1,B2,B3)=(I2,X,Z,XZ)(B_0,B_1,B_2,B_3)=(I_2,X,Z,XZ)(B0​,B1​,B2​,B3​)=(I2​,X,Z,XZ), h=(∣00⟩+∣01⟩+∣10⟩−∣11⟩)/2h=(|00\rangle+|01\rangle+|10\rangle-|11\rangle)/2h=(∣00⟩+∣01⟩+∣10⟩−∣11⟩)/2, and Kθ,a=((W(−θ)†Ba)⊗I2)hK_{\theta,a}=((W(-\theta)^\dagger B_a)\otimes I_2)hKθ,a​=((W(−θ)†Ba​)⊗I2​)h, using 0=false0=\mathrm{false}0=false and 1=true1=\mathrm{true}1=true. The theorem asserts simultaneously that

(Kθ,0,Kθ,1,Kθ,2,Kθ,3)=12(∣00⟩+eiθ∣11⟩, ∣00⟩−eiθ∣11⟩, ∣01⟩+eiθ∣10⟩, ∣01⟩−eiθ∣10⟩);(K_{\theta,0},K_{\theta,1},K_{\theta,2},K_{\theta,3}) =\frac1{\sqrt2}\bigl( |00\rangle+e^{i\theta}|11\rangle,\, |00\rangle-e^{i\theta}|11\rangle,\, |01\rangle+e^{i\theta}|10\rangle,\, |01\rangle-e^{i\theta}|10\rangle \bigr);(Kθ,0​,Kθ,1​,Kθ,2​,Kθ,3​)=2​1​(∣00⟩+eiθ∣11⟩,∣00⟩−eiθ∣11⟩,∣01⟩+eiθ∣10⟩,∣01⟩−eiθ∣10⟩);

these four vectors are orthonormal for the standard complex inner product; Kθ,0(x,y)=Kθ,1(x,y)=0K_{\theta,0}(x,y)=K_{\theta,1}(x,y)=0Kθ,0​(x,y)=Kθ,1​(x,y)=0 whenever x≠yx\ne yx=y; and Kθ,2(x,y)=Kθ,3(x,y)=0K_{\theta,2}(x,y)=K_{\theta,3}(x,y)=0Kθ,2​(x,y)=Kθ,3​(x,y)=0 whenever x=yx=yx=y. Furthermore, define the rectangular matrix FFF by Fb,(x,y)=1F_{b,(x,y)}=1Fb,(x,y)​=1 if (x,y)=(b,b)(x,y)=(b,b)(x,y)=(b,b) and 000 otherwise, and let qθ,s=(∣0⟩+(−1)seiθ∣1⟩)/2q_{\theta,s}=(|0\rangle+(-1)^s e^{i\theta}|1\rangle)/\sqrt2qθ,s​=(∣0⟩+(−1)seiθ∣1⟩)/2​ for either bit sss. Then

F†∣qθ,s⟩⟨qθ,s∣F=∣Kθ,s⟩⟨Kθ,s∣,F∣Kθ,2⟩⟨Kθ,2∣F†=0,F∣Kθ,3⟩⟨Kθ,3∣F†=0,F^\dagger|q_{\theta,s}\rangle\langle q_{\theta,s}|F =|K_{\theta,s}\rangle\langle K_{\theta,s}|, \qquad F|K_{\theta,2}\rangle\langle K_{\theta,2}|F^\dagger=0, \qquad F|K_{\theta,3}\rangle\langle K_{\theta,3}|F^\dagger=0,F†∣qθ,s​⟩⟨qθ,s​∣F=∣Kθ,s​⟩⟨Kθ,s​∣,F∣Kθ,2​⟩⟨Kθ,2​∣F†=0,F∣Kθ,3​⟩⟨Kθ,3​∣F†=0,

where ∣v⟩⟨v∣|v\rangle\langle v|∣v⟩⟨v∣ has entries vxvy‾v_x\overline{v_y}vx​vy​​.

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

    Confirmed by the moderator at approval.

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