Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The physical qutrit two-port spin block and complete kernel

Open
QAlgorithms.Papers.Independent.Intakenext100.P53.qutrit_two_port_spin_block

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

prove2quantum

Take d=3,N=2d=3,N=2d=3,N=2, with the physical signal sum ρ=13(PA1C−⊗IA2+PA2C−⊗IA1)\rho=\frac13(P^-_{A_1C}\otimes I_{A_2}+P^-_{A_2C}\otimes I_{A_1})ρ=31​(PA1​C−​⊗IA2​​+PA2​C−​⊗IA1​​). Construct the nine orthonormal coupled states ∣1,m;J⟩|1,m;J\rangle∣1,m;J⟩ of CA1A2CA_1A_2CA1​A2​, where m=−1,0,1m=-1,0,1m=−1,0,1 and the physical AAA-spin is J=0,1,2J=0,1,2J=0,1,2, using real highest-weight coefficients and physical lowering. Choose phases so the A1CA_1CA1​C singlet matrix has sign (−1)J+J′(-1)^{J+J'}(−1)J+J′. Then

⟨1,m;J∣PAiC−∣1,m;J′⟩=(2J+1)(2J′+1)9{(−1)J+J′,i=1,1,i=2.\langle1,m;J|P^-_{A_iC}|1,m;J'\rangle=\frac{\sqrt{(2J+1)(2J'+1)}}9\begin{cases}(-1)^{J+J'},&i=1,\\1,&i=2.\end{cases}⟨1,m;J∣PAi​C−​∣1,m;J′⟩=9(2J+1)(2J′+1)​​{(−1)J+J′,1,​i=1,i=2.​

The operator vanishes outside total spin one, and every magnetic block is

ρ(1,m)=227(105030505).\rho(1,m)=\frac2{27}\begin{pmatrix}1&0&\sqrt5\\0&3&0\\\sqrt5&0&5\end{pmatrix}.ρ(1,m)=272​​105​​030​5​05​​.

In particular it does not commute with SA2S_A^2SA2​. Its eigenvalues are 4/94/94/9 and 2/92/92/9, each of multiplicity three, together with a 21-dimensional kernel. In each magnetic block the normalized null vector is κm=(5∣1,m;0⟩−∣1,m;2⟩)/6\kappa_m=(\sqrt5|1,m;0\rangle-|1,m;2\rangle)/\sqrt6κm​=(5​∣1,m;0⟩−∣1,m;2⟩)/6​, and the complete kernel projector is

I−supp⁡ρ=I−Ptotal=1+∑m∣κm⟩⟨κm∣.I-\operatorname{supp}\rho=I-P_{\mathrm{total}=1}+\sum_m|\kappa_m\rangle\langle\kappa_m|.I−suppρ=I−Ptotal=1​+m∑​∣κm​⟩⟨κm​∣.

This preserves the physical spin interpretation of the block. Printed Eq.(B7)'s coefficient 555 and incomplete kernel complement are corrected by the uniquely determining Eq.(B2).

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P53
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P53

open scoped Classical ComplexConjugate ComplexOrder Matrix Matrix.Norms.L2Operator

-- Accepted generic matrix and positive-operator interfaces. The support is the
-- orthogonal range projection; all uses below are on positive physical rho.

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

open QAlgorithms.Papers.Independent.Information100.P07 (support)

open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt)

/-- PDF pp.6-7, Eqs.(B1)-(B2),(B7): the actual qutrit two-port block and
spectrum. Printed B7's null coefficient 5 becomes sqrt(5); the complete kernel
also includes every total-spin sector outside spin one, not just spin three. -/
theorem qutrit_two_port_spin_block :
    qutritFullFrameᴴ * qutritFullFrame = 1 ∧
    (∀ r J : Fin 3,
      QAlgorithms.act (totalCasimir 3 2) (qutritCoupled r J) = (2 : ℂ) • qutritCoupled r J ∧
      QAlgorithms.act (liftA (quditCasimir 3 (Fin 2))) (qutritCoupled r J) =
        ((J.val : ℂ) * ((J.val : ℂ) + 1)) • qutritCoupled r J) ∧
    (∀ (r : Fin 3) (i : Fin 2) (J K : Fin 3),
      ((qutritFrame r)ᴴ * portProjector (d := 3) i * qutritFrame r) J K =
        (1 / 9 : ℂ) * (if i = 0 then (-1 : ℂ) ^ (J.val + K.val) else 1) *
          (Real.sqrt (((2 * J.val + 1 : ℕ) : ℝ) * ((2 * K.val + 1 : ℕ) : ℝ)) : ℂ)) ∧
    (∀ r : Fin 3, (qutritFrame r)ᴴ * pbtRho 3 2 * qutritFrame r = qutritBlock) ∧
    pbtRho 3 2 = ∑ r : Fin 3, qutritFrame r * qutritBlock * (qutritFrame r)ᴴ ∧
    (1 - casimirProjector (totalCasimir 3 2) 2) * pbtRho 3 2 = 0 ∧
    liftA (quditCasimir 3 (Fin 2)) * pbtRho 3 2 ≠ pbtRho 3 2 * liftA (quditCasimir 3 (Fin 2)) ∧
    (pbtRho 3 2).charpoly = Polynomial.X ^ 21 *
      (Polynomial.X - Polynomial.C (4 / 9 : ℂ)) ^ 3 *
      (Polynomial.X - Polynomial.C (2 / 9 : ℂ)) ^ 3 ∧
    Module.finrank ℂ (LinearMap.ker (pbtRho 3 2).mulVecLin) = 21 ∧
    (∀ r : Fin 3, QAlgorithms.IsState (qutritKernelVector r) ∧
      QAlgorithms.act (pbtRho 3 2) (qutritKernelVector r) = 0) ∧
    1 - support (pbtRho 3 2) = 1 - casimirProjector (totalCasimir 3 2) 2 +
      ∑ r : Fin 3, QAlgorithms.pureDensity (qutritKernelVector r) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P53

end
Source
Some remarks on port-based teleportation, arXiv:1506.01555v2, PDF p. 6, Appendix B Eqs.(B1)-(B2): qutrit two-port physical spin block
Read-back

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

On the 272727-dimensional complex Euclidean space with basis ∣a,b;c⟩|a,b;c\rangle∣a,b;c⟩, a,b,c∈{0,1,2}a,b,c\in\{0,1,2\}a,b,c∈{0,1,2}, define

h0=(∣0,2;0⟩−∣1,1;0⟩+∣2,0;0⟩)/3,h1=−12(∣0,1;1⟩−∣1,0;1⟩−∣0,2;0⟩+∣2,0;0⟩),h2=35∣0,0;2⟩−320(∣0,1;1⟩+∣1,0;1⟩)+160(∣0,2;0⟩+∣2,0;0⟩+2∣1,1;0⟩).\begin{aligned} h_0&=(|0,2;0\rangle-|1,1;0\rangle+|2,0;0\rangle)/\sqrt3,\\ h_1&=-\tfrac12(|0,1;1\rangle-|1,0;1\rangle-|0,2;0\rangle+|2,0;0\rangle),\\ h_2&=\sqrt{\tfrac35}|0,0;2\rangle -\sqrt{\tfrac3{20}}(|0,1;1\rangle+|1,0;1\rangle) +\sqrt{\tfrac1{60}}(|0,2;0\rangle+|2,0;0\rangle+2|1,1;0\rangle). \end{aligned}h0​h1​h2​​=(∣0,2;0⟩−∣1,1;0⟩+∣2,0;0⟩)/3​,=−21​(∣0,1;1⟩−∣1,0;1⟩−∣0,2;0⟩+∣2,0;0⟩),=53​​∣0,0;2⟩−203​​(∣0,1;1⟩+∣1,0;1⟩)+601​​(∣0,2;0⟩+∣2,0;0⟩+2∣1,1;0⟩).​

Let S+=2(010001000)S_+=\sqrt2\begin{pmatrix}0&1&0\\0&0&1\\0&0&0\end{pmatrix}S+​=2​​000​100​010​​, X=(S++S+†)/2X=(S_++S_+^\dagger)/2X=(S+​+S+†​)/2, Y=(S+−S+†)/(2i)Y=(S_+-S_+^\dagger)/(2\mathrm i)Y=(S+​−S+†​)/(2i), and Z=diag⁡(1,0,−1)Z=\operatorname{diag}(1,0,-1)Z=diag(1,0,−1). Write M(0),M(1),M(2)M^{(0)},M^{(1)},M^{(2)}M(0),M(1),M(2) for MMM acting on the first, second, or final tensor factor, respectively, and set

Ktot=∑M∈{X,Y,Z}(M(0)+M(1)+M(2))2,KA=∑M∈{X,Y,Z}(M⊗I3+I3⊗M)2,T=(S+†)(0)+(S+†)(1)+(S+†)(2).K_{\rm tot}=\sum_{M\in\{X,Y,Z\}}(M^{(0)}+M^{(1)}+M^{(2)})^2,\quad K_A=\sum_{M\in\{X,Y,Z\}}(M\otimes I_3+I_3\otimes M)^2,\quad T=(S_+^\dagger)^{(0)}+(S_+^\dagger)^{(1)}+(S_+^\dagger)^{(2)}.Ktot​=M∈{X,Y,Z}∑​(M(0)+M(1)+M(2))2,KA​=M∈{X,Y,Z}∑​(M⊗I3​+I3​⊗M)2,T=(S+†​)(0)+(S+†​)(1)+(S+†​)(2).

For r,J∈{0,1,2}r,J\in\{0,1,2\}r,J∈{0,1,2}, put vrJ=(2)−rTrhJv_{rJ}=(\sqrt2)^{-r}T^rh_JvrJ​=(2​)−rTrhJ​, let FrF_rFr​ have columns vr0,vr1,vr2v_{r0},v_{r1},v_{r2}vr0​,vr1​,vr2​, and let FFF have all nine columns vrJv_{rJ}vrJ​ indexed by (r,J)(r,J)(r,J). Define s(a,c)=(−1)a/3s(a,c)=(-1)^a/\sqrt3s(a,c)=(−1)a/3​ if c=2−ac=2-ac=2−a, and 000 otherwise; define (Pi)(a0,a1;c),(b0,b1;e)=s(ai,c)s(bi,e)‾1{a1−i=b1−i}(P_i)_{(a_0,a_1;c),(b_0,b_1;e)}=s(a_i,c)\overline{s(b_i,e)}\mathbf1_{\{a_{1-i}=b_{1-i}\}}(Pi​)(a0​,a1​;c),(b0​,b1​;e)​=s(ai​,c)s(bi​,e)​1{a1−i​=b1−i​}​, and put ρ=(P0+P1)/3\rho=(P_0+P_1)/3ρ=(P0​+P1​)/3, B=227(105030505)B=\frac2{27}\begin{pmatrix}1&0&\sqrt5\\0&3&0\\\sqrt5&0&5\end{pmatrix}B=272​​105​​030​5​05​​, and κr=(5 vr0−vr2)/6\kappa_r=(\sqrt5\,v_{r0}-v_{r2})/\sqrt6κr​=(5​vr0​−vr2​)/6​. Let Π\PiΠ be the spectral-calculus projector of KtotK_{\rm tot}Ktot​ at eigenvalue 222, and let PρP_\rhoPρ​ be the orthogonal projector onto the range of ρ\rhoρ. The theorem asserts F†F=I9F^\dagger F=I_9F†F=I9​; for every r,Jr,Jr,J, KtotvrJ=2vrJK_{\rm tot}v_{rJ}=2v_{rJ}Ktot​vrJ​=2vrJ​ and (KA⊗I3)vrJ=J(J+1)vrJ(K_A\otimes I_3)v_{rJ}=J(J+1)v_{rJ}(KA​⊗I3​)vrJ​=J(J+1)vrJ​; and for every r∈{0,1,2}r\in\{0,1,2\}r∈{0,1,2}, i∈{0,1}i\in\{0,1\}i∈{0,1}, and J,K∈{0,1,2}J,K\in\{0,1,2\}J,K∈{0,1,2},

(Fr†PiFr)J,K=19{(−1)J+K,i=0,1,i=1(2J+1)(2K+1).(F_r^\dagger P_iF_r)_{J,K} =\frac19 \begin{cases}(-1)^{J+K},&i=0,\\1,&i=1\end{cases} \sqrt{(2J+1)(2K+1)}.(Fr†​Pi​Fr​)J,K​=91​{(−1)J+K,1,​i=0,i=1​(2J+1)(2K+1)​.

It further asserts

Fr†ρFr=Bfor every r,ρ=∑r=02FrBFr†,(I27−Π)ρ=0,(KA⊗I3)ρ≠ρ(KA⊗I3),det⁡(xI27−ρ)=x21(x−49)3(x−29)3,dim⁡Cker⁡ρ=21.\begin{gathered} F_r^\dagger\rho F_r=B\quad\text{for every }r,\qquad \rho=\sum_{r=0}^2F_rBF_r^\dagger,\qquad (I_{27}-\Pi)\rho=0,\\ (K_A\otimes I_3)\rho\ne\rho(K_A\otimes I_3),\\ \det(xI_{27}-\rho)=x^{21}(x-\tfrac49)^3(x-\tfrac29)^3,\qquad \dim_{\mathbb C}\ker\rho=21. \end{gathered}Fr†​ρFr​=Bfor every r,ρ=r=0∑2​Fr​BFr†​,(I27​−Π)ρ=0,(KA​⊗I3​)ρ=ρ(KA​⊗I3​),det(xI27​−ρ)=x21(x−94​)3(x−92​)3,dimC​kerρ=21.​

Finally, each κr\kappa_rκr​ has Euclidean norm 111 and satisfies ρκr=0\rho\kappa_r=0ρκr​=0, and

I27−Pρ=I27−Π+∑r=02∣κr⟩⟨κr∣,I_{27}-P_\rho=I_{27}-\Pi+\sum_{r=0}^2|\kappa_r\rangle\langle\kappa_r|,I27​−Pρ​=I27​−Π+r=0∑2​∣κr​⟩⟨κr​∣,

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