Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Excited-atom postselection and a linear normalized branch

Open
QAlgorithms.Papers.Independent.Intake100.P37.excited_atom_postselection

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

prove2quantum

Fix A,m≥0A,m\ge0A,m≥0, 0≤l≤A0\le l\le A0≤l≤A, and real γ,t\gamma,tγ,t. Let PlP_lPl​ be the spectral projection onto exactly A−lA-lA−l excited Lambda atoms. For every normalized unknown polarization ψ\psiψ, the actual evolved vector obeys

PlΨ(t,ψ)=fl(t)Fl(ψ),pl(t,ψ)=∥PlΨ(t,ψ)∥2=∣fl(t)∣2.P_l\Psi(t,\psi)=f_l(t)F_l(\psi),\qquad p_l(t,\psi)=\|P_l\Psi(t,\psi)\|^2=|f_l(t)|^2.Pl​Ψ(t,ψ)=fl​(t)Fl​(ψ),pl​(t,ψ)=∥Pl​Ψ(t,ψ)∥2=∣fl​(t)∣2.

The same probability is the reference-input weight pl(t)p_l(t)pl​(t) of the physical photonic instrument branch TlT_lTl​. For every input operator XXX, Tr⁡Tl(X)=pl(t)Tr⁡X\operatorname{Tr}T_l(X)=p_l(t)\operatorname{Tr}XTrTl​(X)=pl​(t)TrX. If pl(t)>0p_l(t)>0pl​(t)>0, the conditional physical density is the normalized density ∣Fl(ψ)⟩⟨Fl(ψ)∣|F_l(\psi)\rangle\langle F_l(\psi)|∣Fl​(ψ)⟩⟨Fl​(ψ)∣; moreover X↦pl(t)−1Tl(X)X\mapsto p_l(t)^{-1}T_l(X)X↦pl​(t)−1Tl​(X) is a polarization-covariant channel. The normalization is by a fixed scalar on all operators. This formalizes fixed output photon count m+lm+lm+l by a measured outcome. Zero-probability outcomes, including l>0l>0l>0 at t=0t=0t=0, have no asserted normalized conditional state.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P37
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P37

open QAlgorithms

open scoped Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.5-6: actual excited-atom measurement, input-independent Born
weights, and normalized conditional output only when the outcome has positive
probability. At t=0 all l>0 outcomes have zero probability. -/
theorem excited_atom_postselection (A m l : ℕ) (hlA : l ≤ A) (gamma t : ℝ) :
    (∀ psi : EuclideanSpace ℂ (Fin 2), IsState psi →
      act (selectExcited A m l) (physicalOutput A m gamma t psi) =
        emissionAmplitude A m gamma t ⟨l, by omega⟩ • physicalSector A m l psi ∧
      excitedOutcomeProbability A m l gamma t psi =
        Complex.normSq (emissionAmplitude A m gamma t ⟨l, by omega⟩) ∧
      excitedOutcomeProbability A m l gamma t psi = emissionBranchWeight A m l gamma t ∧
      (0 < excitedOutcomeProbability A m l gamma t psi →
        IsDensityMatrix (conditionalPhysical A m l gamma t psi) ∧
        conditionalPhysical A m l gamma t psi = pureDensity (physicalSector A m l psi))) ∧
    (∀ rho : Matrix (Fin (m + 1)) (Fin (m + 1)) ℂ,
      (physicalBranch A m l gamma t rho).trace =
        (emissionBranchWeight A m l gamma t : ℂ) * rho.trace) ∧
    (0 < emissionBranchWeight A m l gamma t →
      IsChannel (normalizedBranch A m l gamma t) ∧
      PolarizationCovariant m (m + l) (normalizedBranch A m l gamma t)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P37

end
Source
Lambda's, V's and optimal cloning with stimulated emission, arXiv:quant-ph/0003025v1, PDF p. 5, Sec. II C, postselection paragraph
Read-back

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

For all natural numbers A,m,lA,m,lA,m,l with l≤Al\le Al≤A, and all real γ,t\gamma,tγ,t, let P\mathcal PP consist of (n,w)(n,w)(n,w), with 0≤n0,n1≤m+A0\le n_0,n_1\le m+A0≤n0​,n1​≤m+A, w∈{0,1,2}Aw\in\{0,1,2\}^Aw∈{0,1,2}A, and n0+n1+#{k:wk=2}=m+An_0+n_1+\#\{k:w_k=2\}=m+An0​+n1​+#{k:wk​=2}=m+A, and let O\mathcal OO consist of (n,o)(n,o)(n,o) with the same photon bounds, o0+o1+o2=Ao_0+o_1+o_2=Ao0​+o1​+o2​=A, 0≤oa≤A0\le o_a\le A0≤oa​≤A, and n0+n1+o2=m+An_0+n_1+o_2=m+An0​+n1​+o2​=m+A. Define HHH by summing each transition that replaces an atomic label 222 by a∈{0,1}a\in\{0,1\}a∈{0,1} and increments nan_ana​, with coefficient γna+1\gamma\sqrt{n_a+1}γna​+1​, and its reverse, and put Ut=e−itHU_t=e^{-itH}Ut​=e−itH. Let Iψ(n,w)=(mn1)ψ0n0ψ1n1I_\psi(n,w)=\sqrt{\binom m{n_1}}\psi_0^{n_0}\psi_1^{n_1}Iψ​(n,w)=(n1​m​)​ψ0n0​​ψ1n1​​ when all atoms have label 222 and n0+n1=mn_0+n_1=mn0​+n1​=m, and zero otherwise; write Yψ=UtIψY_\psi=U_tI_\psiYψ​=Ut​Iψ​. Let PlP_lPl​ project onto entries with exactly A−lA-lA−l atoms labelled 222, and define pψ=∥PlYψ∥2p_\psi=\|P_lY_\psi\|^2pψ​=∥Pl​Yψ​∥2 and Cψ=pψ−1∣PlYψ⟩⟨PlYψ∣C_\psi=p_\psi^{-1}|P_lY_\psi\rangle\langle P_lY_\psi|Cψ​=pψ−1​∣Pl​Yψ​⟩⟨Pl​Yψ​∣, using 0−1=00^{-1}=00−1=0. Let J(n,w),(n′,o)=o0!o1!o2!/A!J_{(n,w),(n',o)}=\sqrt{o_0!o_1!o_2!/A!}J(n,w),(n′,o)​=o0​!o1​!o2​!/A!​ when n=n′n=n'n=n′ and www has counts ooo, and zero otherwise; let GGG swap o0,o1o_0,o_1o0​,o1​, preserve photons and o2o_2o2​, and give input occupation ooo sign (−1)o1(-1)^{o_1}(−1)o1​. Define

el(n,o)={(−1)n1(m+l−n1m)(m+l+1l),n0+n1=m+l, o2=A−l, o0=n1, o1+n1=l,0,otherwise.e_l(n,o)= \begin{cases} (-1)^{n_1}\displaystyle\sqrt{\frac{\binom{m+l-n_1}{m}}{\binom{m+l+1}{l}}}, &n_0+n_1=m+l,\ o_2=A-l,\ o_0=n_1,\ o_1+n_1=l,\\ 0,&\text{otherwise}. \end{cases}el​(n,o)=⎩⎨⎧​(−1)n1​(lm+l+1​)(mm+l−n1​​)​​,0,​n0​+n1​=m+l, o2​=A−l, o0​=n1​, o1​+n1​=l,otherwise.​

For a 2×22\times22×2 matrix VVV, define

Bs(V)c,d=c0!c1!s!d0!d1!s!∑x,y∈{0,1}scount⁡(x)=c, count⁡(y)=d∏jVxj,yj,\mathcal B_s(V)_{c,d} =\sqrt{\frac{c_0!c_1!}{s!}}\sqrt{\frac{d_0!d_1!}{s!}} \sum_{\substack{x,y\in\{0,1\}^s\\ \operatorname{count}(x)=c,\ \operatorname{count}(y)=d}} \prod_jV_{x_j,y_j},Bs​(V)c,d​=s!c0​!c1​!​​s!d0​!d1​!​​x,y∈{0,1}scount(x)=c, count(y)=d​∑​j∏​Vxj​,yj​​,

and let F(V)(n,o),(n′,o′)F(V)_{(n,o),(n',o')}F(V)(n,o),(n′,o′)​ be zero unless o2=o2′o_2=o'_2o2​=o2′​, and otherwise equal Bn0′+n1′(V)n,n′BA−o2′(V)(o0,o1),(o0′,o1′)\mathcal B_{n'_0+n'_1}(V)_{n,n'}\mathcal B_{A-o'_2}(V)_{(o_0,o_1),(o'_0,o'_1)}Bn0′​+n1′​​(V)n,n′​BA−o2′​​(V)(o0​,o1​),(o0′​,o1′​)​. Set Vψ=(ψ0−ψ1‾ψ1ψ0‾)V_\psi=\left(\begin{smallmatrix}\psi_0&-\overline{\psi_1}\\\psi_1&\overline{\psi_0}\end{smallmatrix}\right)Vψ​=(ψ0​ψ1​​−ψ1​​ψ0​​​) and sψ=JG†F(Vψ)els_\psi=JG^\dagger F(V_\psi)e_lsψ​=JG†F(Vψ​)el​. Let KKK on 0,…,A0,\ldots,A0,…,A have off-diagonal entries Kj+1,j=Kj,j+1=γ(j+1)(A−j)(m+j+2)K_{j+1,j}=K_{j,j+1}=\gamma\sqrt{(j+1)(A-j)(m+j+2)}Kj+1,j​=Kj,j+1​=γ(j+1)(A−j)(m+j+2)​, all other entries zero, and let al=(e−itK)l,0a_l=(e^{-itK})_{l,0}al​=(e−itK)l,0​. Define Ein(n,w;j)=1E_{\mathrm{in}}(n,w;j)=1Ein​(n,w;j)=1 when all atoms have label 222, n0+n1=mn_0+n_1=mn0​+n1​=m, and n1=jn_1=jn1​=j, and zero otherwise; for each atomic word www, put

Qw(o,j)=∑p=(n,w′)∈Pw′=w, n0=m+l−o, n1=o(UtEin)p,j,B(ρ)=∑wQwρQw†,b=Re⁡tr⁡B(∣0⟩⟨0∣).Q_w(o,j)= \sum_{\substack{p=(n,w')\in\mathcal P\\ w'=w,\ n_0=m+l-o,\ n_1=o}} (U_tE_{\mathrm{in}})_{p,j}, \qquad B(\rho)=\sum_wQ_w\rho Q_w^\dagger, \qquad b=\operatorname{Re}\operatorname{tr}B(|0\rangle\langle0|).Qw​(o,j)=p=(n,w′)∈Pw′=w, n0​=m+l−o, n1​=o​∑​(Ut​Ein​)p,j​,B(ρ)=w∑​Qw​ρQw†​,b=RetrB(∣0⟩⟨0∣).

Then, for every unit vector ψ∈C2\psi\in\mathbb C^2ψ∈C2,

PlYψ=alsψ,pψ=∣al∣2,pψ=b;P_lY_\psi=a_ls_\psi,\qquad p_\psi=|a_l|^2,\qquad p_\psi=b;Pl​Yψ​=al​sψ​,pψ​=∣al​∣2,pψ​=b;

if pψ>0p_\psi>0pψ​>0, then CψC_\psiCψ​ is positive semidefinite with trace 111, and Cψ=∣sψ⟩⟨sψ∣C_\psi=|s_\psi\rangle\langle s_\psi|Cψ​=∣sψ​⟩⟨sψ​∣. For every complex (m+1)×(m+1)(m+1)\times(m+1)(m+1)×(m+1) matrix ρ\rhoρ, without a positivity or normalization assumption,

tr⁡B(ρ)=b tr⁡ρ.\operatorname{tr}B(\rho)=b\,\operatorname{tr}\rho.trB(ρ)=btrρ.

If b>0b>0b>0, the map B^(ρ)=b−1B(ρ)\widehat B(\rho)=b^{-1}B(\rho)B(ρ)=b−1B(ρ) admits a finite Kraus representation B^(ρ)=∑jRjρRj†\widehat B(\rho)=\sum_jR_j\rho R_j^\daggerB(ρ)=∑j​Rj​ρRj†​ with ∑jRj†Rj=I\sum_jR_j^\dagger R_j=I∑j​Rj†​Rj​=I, and it obeys

B^(Am(V)ρAm(V)†)=Am+l(V)B^(ρ)Am+l(V)†\widehat B(A_m(V)\rho A_m(V)^\dagger) =A_{m+l}(V)\widehat B(\rho)A_{m+l}(V)^\daggerB(Am​(V)ρAm​(V)†)=Am+l​(V)B(ρ)Am+l​(V)†

for every unitary 2×22\times22×2 matrix VVV and every ρ\rhoρ, where Aq(V)=Eq†Rq(V)EqA_q(V)=E_q^\dagger R_q(V)E_qAq​(V)=Eq†​Rq​(V)Eq​, Rq(V)x,y=∏iVxi,yiR_q(V)_{x,y}=\prod_iV_{x_i,y_i}Rq​(V)x,y​=∏i​Vxi​,yi​​, and Eq(x,j)=(qj)−1/2E_q(x,j)=\binom qj^{-1/2}Eq​(x,j)=(jq​)−1/2 when the qqq-bit string xxx has weight jjj, and zero otherwise. Zero values of A,m,l,γ,tA,m,l,\gamma,tA,m,l,γ,t are permitted subject to l≤Al\le Al≤A; the channel and conditional-density conclusions require the explicitly stated strict positivity.

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