Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§XII: symplectic operations cannot prepare ideal comb codewords

Open
QAlgorithms.Papers.Independent.Intakenext100.P12.gaussian_no_ideal_encoder

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

prove2quantum

Let N,n≥1N,n\ge1N,n≥1 and α>0\alpha>0α>0. Start with a normalized NNN-mode pure Gaussian wavefunction whose complex symmetric quadratic matrix has positive definite real part. Apply any finite circuit of actual local Fourier transforms, real quadratic phases, distinct-mode beam mixing, finite positive squeezes and displacements. The output remains a normalized Gaussian L2L^2L2 wavefunction. If Tψ(f)=∫ψ(q)f(q) dqT_\psi(f)=\int\psi(q)f(q)\,dqTψ​(f)=∫ψ(q)f(q)dq is its regular Schwartz functional and J⊗NcJ^{\otimes N}cJ⊗Nc is the tensor ideal comb with nonzero logical coefficient array ccc, then

Tψ≠J⊗Nc.T_\psi\ne J^{\otimes N}c.Tψ​=J⊗Nc.

Thus Gaussian symplectic circuitry, even with additional Gaussian modes, cannot prepare a nonzero ideal comb codeword. This is not a no-go theorem for finite-energy approximate encoders or for arbitrary photon-counting protocols.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P12
Formal statement
noncomputable section

open scoped BigOperators

open MeasureTheory Matrix ComplexConjugate

open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)

namespace QAlgorithms.Papers.Independent.Intakenext100.P12

/-- Section XII, PDF p.19: finite affine metaplectic circuits preserve normalized Gaussians
and cannot prepare a nonzero ideal comb codeword, even using additional Gaussian modes.
No claim about approximate encoders or adaptive photon counting is made. -/
theorem gaussian_no_ideal_encoder (N n : ℕ) (hN : 0 < N) (hn : 0 < n)
    (alpha : ℝ) (ha : 0 < alpha)
    (gates : List (GaussianGate N)) (hg : ∀ g ∈ gates, g.Valid)
    (psi : (Fin N → ℝ) → ℂ) (hpsi : IsGaussianWave N psi) :
    IsGaussianWave N (gaussianEval gates psi) ∧
    (∀ c : (Fin N → Fin n) → ℂ, c ≠ 0 →
      regularFunctional N (gaussianEval gates psi) ≠ tensorComb N n alpha c) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P12

end
Source
Encoding a qubit in an oscillator, arXiv:quant-ph/0008040v3, PDF p. 19, §XII: symplectic operations cannot prepare ideal comb codewords
Read-back

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

Let N,nN,nN,n be positive natural numbers and α>0\alpha>0α>0. Let a finite list of gates on functions RN→C\mathbb R^N\to\mathbb CRN→C consist of the following operations: a Fourier operation in coordinate kkk, sending hhh to x↦(2π)−1/2∫Re−ixkqh(x[k←q]) dqx\mapsto(2\pi)^{-1/2}\int_{\mathbb R}e^{-ix_kq}h(x[k\leftarrow q])\,dqx↦(2π)−1/2∫R​e−ixk​qh(x[k←q])dq; multiplication by ei2∑i,jBijxixje^{\frac i2\sum_{i,j}B_{ij}x_ix_j}e2i​∑i,j​Bij​xi​xj​ for any real matrix BBB; squeezing coordinate kkk by a positive real ratio rrr, sending hhh to x↦r−1/2h(x[k←xk/r])x\mapsto r^{-1/2}h(x[k\leftarrow x_k/r])x↦r−1/2h(x[k←xk​/r]); a beam operation on distinct coordinates a,ba,ba,b, sending hhh to x↦h(RTx)x\mapsto h(R^{\mathsf T}x)x↦h(RTx), where RRR is the identity outside those coordinates and has block (cos⁡θsin⁡θ−sin⁡θcos⁡θ)\left(\begin{smallmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{smallmatrix}\right)(cosθ−sinθ​sinθcosθ​); or a displacement by real vectors u,vu,vu,v, sending hhh to x↦ei∑jvj(xj−uj/2)h(x−u)x\mapsto e^{i\sum_jv_j(x_j-u_j/2)}h(x-u)x↦ei∑j​vj​(xj​−uj​/2)h(x−u). Suppose ψ:RN→C\psi:\mathbb R^N\to\mathbb Cψ:RN→C belongs to L2L^2L2, satisfies ∫RN∣ψ(x)∣2 dx=1\int_{\mathbb R^N}|\psi(x)|^2\,dx=1∫RN​∣ψ(x)∣2dx=1, and has a representation

ψ(x)=Cexp⁡ ⁣(−∑i,jAijxixj+∑ibixi),C≠0,AT=A,∑i,jRe⁡(Aij)xixj>0 for every x≠0,\psi(x)=C\exp\!\left(-\sum_{i,j}A_{ij}x_ix_j+\sum_i b_ix_i\right), \qquad C\ne0,\quad A^{\mathsf T}=A,\quad \sum_{i,j}\operatorname{Re}(A_{ij})x_ix_j>0\ \text{for every }x\ne0,ψ(x)=Cexp(−i,j∑​Aij​xi​xj​+i∑​bi​xi​),C=0,AT=A,i,j∑​Re(Aij​)xi​xj​>0 for every x=0,

with complex C,A,bC,A,bC,A,b. Apply the listed gates successively in list order, and call the resulting function Φ\PhiΦ; an empty list gives Φ=ψ\Phi=\psiΦ=ψ. Then Φ\PhiΦ also belongs to L2L^2L2, has squared norm integral one, and admits a representation with all the displayed properties, possibly with different C,A,bC,A,bC,A,b. Moreover, for every coefficient function c:{0,…,n−1}N→Cc:\{0,\ldots,n-1\}^N\to\mathbb Cc:{0,…,n−1}N→C having at least one nonzero value, there exists a complex-valued Schwartz function fff on RN\mathbb R^NRN such that

∫RNΦ(q)f(q) dq≠∑j∈{0,…,n−1}Nc(j)∑z∈ZN′f ⁣((α(ji+nzi))i=0N−1).\int_{\mathbb R^N}\Phi(q)f(q)\,dq \ne \sum_{j\in\{0,\ldots,n-1\}^N}c(j) \sum_{z\in\mathbb Z^N}'f\!\left(\bigl(\alpha(j_i+nz_i)\bigr)_{i=0}^{N-1}\right).∫RN​Φ(q)f(q)dq=j∈{0,…,n−1}N∑​c(j)z∈ZN∑′​f((α(ji​+nzi​))i=0N−1​).

Neither side conjugates fff; the primed sum denotes the total infinite sum, assigned zero if it is not summable.

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