Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (6) — the tritter-encoded three-mode Wigner function in closed form

Proved
LoockCVQEC.RepCode.eq_6

by mikedeng1 · Oct 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

beam-splittergaussian-statep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1wigner-function

Let WinW_{\mathrm{in}}Win​ be the coherent state with mean (xˉ1,pˉ1)(\bar x_1,\bar p_1)(xˉ1​,pˉ​1​) and let the two ancillas be x-squeezed vacua with squeezing parameter rrr. After the tritter, the three-mode state has the Wigner function

Wenc(x,p)=(2π)3exp⁡{−2[13(x1+x2+x3)−xˉ1]2−23e−2r[(p1−p2)2+(p2−p3)2+(p1−p3)2]−2[13(p1+p2+p3)−pˉ1]2−23e2r[(x1−x2)2+(x2−x3)2+(x1−x3)2]}W_{\mathrm{enc}}(x,p)=\Big(\frac2\pi\Big)^3\exp\Big\{-2\Big[\tfrac1{\sqrt3}(x_1+x_2+x_3)-\bar x_1\Big]^2-\tfrac23e^{-2r}\big[(p_1-p_2)^2+(p_2-p_3)^2+(p_1-p_3)^2\big]-2\Big[\tfrac1{\sqrt3}(p_1+p_2+p_3)-\bar p_1\Big]^2-\tfrac23e^{2r}\big[(x_1-x_2)^2+(x_2-x_3)^2+(x_1-x_3)^2\big]\Big\}Wenc​(x,p)=(π2​)3exp{−2[3​1​(x1​+x2​+x3​)−xˉ1​]2−32​e−2r[(p1​−p2​)2+(p2​−p3​)2+(p1​−p3​)2]−2[3​1​(p1​+p2​+p3​)−pˉ​1​]2−32​e2r[(x1​−x2​)2+(x2​−x3​)2+(x1​−x3​)2]}

for all x,p∈R3x,p\in\mathbb R^3x,p∈R3.

The encoded state is an entangled three-mode Gaussian state: the signal's mean is spread evenly over the three modes, and the ancillas' squeezing correlates the xxx-quadratures of all three.

Formalization Note The left-hand side is computed from the protocol: the product state (5) evaluated at (Dx,Dp)(Dx,Dp)(Dx,Dp), with Lean index 000 for the paper's mode 1.

Differences from the source:

  • encoding: modes and channels numbered 1, 2, 3 → Fin 3, Lean index j − 1 for the paper's mode j; reason: Lean convention; same instances
  • reading: the tritter is "a sequence of two beam splitters with transmittances 1 : 2 and 1 : 1"; its matrix is not printed → the orthogonal matrix D with rows (1,1,1)/√3, (√(2/3), −1/√6, −1/√6), (0, 1/√2, −1/√2); encode W ↦ W(Dx, Dp), decode W ↦ W(Dᵀx, Dᵀp); reason: this D reproduces Eq. (6) and every term, with signs, of Eq. (8) on the page
Preamble
import Mathlib
import Definitions.Def_LoockCVQEC_RepCode_Protocol
Formal statement
namespace LoockCVQEC.RepCode

open Real

theorem eq_6 (xb pb r : ℝ) (x p : Fin 3 → ℝ) :
    encode (prodW xb pb r) x p =
      (2 / π) ^ 3 * exp (-2 * (1 / √3 * (x 0 + x 1 + x 2) - xb) ^ 2
        - 2 / 3 * exp (-2 * r) * ((p 0 - p 1) ^ 2 + (p 1 - p 2) ^ 2 + (p 0 - p 2) ^ 2)
        - 2 * (1 / √3 * (p 0 + p 1 + p 2) - pb) ^ 2
        - 2 / 3 * exp (2 * r) * ((x 0 - x 1) ^ 2 + (x 1 - x 2) ^ 2 + (x 0 - x 2) ^ 2)) := by sorry

end LoockCVQEC.RepCode
Source
van Loock, A note on quantum error correction with continuous variables, arXiv:0811.3616v1, p. 2, Eq. (6)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 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