Exact Lean source
TensorRankOneGlobal
formalization/Cloning/TensorRankOneGlobal.lean
Source hash: 127dc0f5ad71f12bb66acfd7f7f5b6771160d00a6247405aa93feff61a22d5fc
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
1import Cloning.TensorRankOneTransition
2import Cloning.TensorRankOneCoupling
3import Cloning.TensorRankOneWernerCovariance
4
5/-! The prescribed rank-one projector cloner is exactly the finite Werner
6pure-state cloner on every pure product input. -/
7noncomputable section
8open scoped BigOperators Classical InnerProductSpace Matrix
9namespace Cloning.TensorCloning
10open Cloning.TensorLie Cloning.TensorLAN Cloning.PCT Cloning.InfiniteTraceClass
11open Cloning.YoungGeneral Cloning.PCTRankAdapted Cloning.FiniteKrausLift Cloning.YoungFlatCoupling
12open Cloning.GeneralSymmetricOccupation
13set_option maxHeartbeats 1600000
14set_option synthInstance.maxHeartbeats 200000
15set_option backward.isDefEq.respectTransparency false
16local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
17 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
18variable {n m k : ℕ}
19
20/-- Every exact rank-one label coupling gives the same finite physical
21output: all nonzero copy transitions are the literal Werner cloner. -/
22theorem flatCoupledChannel_rankOne_rotated (J : PMF (Shape 1 n × Shape 1 m))
23 (hfst : J.map Prod.fst=tensorFlatYoungPMF n 1 (by omega))
24 (hsnd : J.map Prod.snd=tensorFlatYoungPMF m 1 (by omega)) (hnm : n≤m)
25 (U : Matrix (Fin (1+k)) (Fin (1+k)) ℂ) (hU : Uᴴ*U=1) :
26 (flatCoupledChannel k (by omega) J hfst hsnd).toLinearMap
27 (matrixTensorPower (U*Matrix.diagonal (fun a=>(rankFlatSpectrum 1 k a:ℂ))*Uᴴ) n)=
28 pureWernerOutput (s:=k) (by simp [Nat.add_comm])
29 (matrixRegister U (registerBasis (Fin (1+k)) 0))
30 ((matrixRegister_norm U hU _).trans ((registerBasis _).orthonormal.norm_eq_one _))
31 (inputSlots n m hnm) := by
32 let K := labelCouplingCopies (flatLabelCoupling J k)
33 let W := pureWernerOutput (s:=k) (by simp [Nat.add_comm] : Fintype.card (Fin (1+k))=k+1)
34 (matrixRegister U (registerBasis (Fin (1+k)) 0))
35 ((matrixRegister_norm U hU _).trans ((registerBasis _).orthonormal.norm_eq_one _))
36 (inputSlots n m hnm)
37 have ht (i : SchurCopy n (1+k)) (j : SchurCopy m (1+k)) (hij : K i j≠0) :
38 (copyTransition n m (1+k) i j).toLinearMap
39 (canonicalRotatedGibbs ((recursivePhysicalDecomposition n (1+k)).get i)
40 U (rankFlatSpectrum 1 k))=W := by
41 obtain ⟨hi,hj⟩ := rankOne_copyCoupling_support J i j hij
42 have h0 : ((recursivePhysicalDecomposition n (1+k)).get i).weight 0=n := by
43 rw [hi]
44 exact padPartition_left (k := k) (fun _ : Fin 1=>n) 0
45 rw [canonicalRotatedGibbs,canonicalGibbsDensity_rankOne _ h0]
46 change (copyTransition n m (1+k) i j).toLinearMap
47 (conjugationLinearMap (partitionTensorAction _ _ U) (vectorProjector _))=W
48 rw [copyTransition_covariant n m i j U hU,
49 copyTransition_oneRow_highest_werner i j hnm hi hj]
50 exact (pureWernerOutput_unitary _ U hU _ _ _).symm
51 rw [flatCoupledChannel,coupledCopyChannel_rotated_apply]
52 change (∑z : SchurCopy n (1+k)×SchurCopy m (1+k), (K z.1 z.2:ℂ) •
53 (copyTransition n m (1+k) z.1 z.2).toLinearMap
54 (canonicalRotatedGibbs ((recursivePhysicalDecomposition n (1+k)).get z.1)
55 U (rankFlatSpectrum 1 k)))=W
56 calc
57 _ = ∑z : SchurCopy n (1+k)×SchurCopy m (1+k),(K z.1 z.2:ℂ) • W := by
58 apply Finset.sum_congr rfl
59 intro z _
60 by_cases hz : K z.1 z.2=0
61 · simp only [hz,Complex.ofReal_zero,zero_smul]
62 · rw [ht z.1 z.2 hz]
63 _ = (∑z : SchurCopy n (1+k)×SchurCopy m (1+k),(K z.1 z.2:ℂ)) • W :=
64 (Finset.sum_smul ..).symm
65 _ = W := by
66 rw [← Complex.ofReal_sum,flat_copyCoupling_sum k (by omega) J hfst hsnd,
67 Complex.ofReal_one,one_smul]
68
69/-- The fixed prescribed projector cloner, independent of the unknown pure
70state, coincides exactly with Werner's map on pure tensor inputs. -/
71theorem rankFlatChannel_tensorProjector (k n m : ℕ) (hnm : n≤m)
72 (ψ : Register (Fin (1+k))) (hψ : ‖ψ‖=1) :
73 (rankFlatChannel 1 k (by omega) n m).toLinearMap
74 (vectorProjector (tensorVector (fun _ : Fin n=>ψ)))=
75 pureWernerOutput (s:=k) (by simp [Nat.add_comm]) ψ hψ (inputSlots n m hnm) := by
76 obtain ⟨U,hU⟩ := exists_unitary_first_column k ψ hψ
77 have hh := flatCoupledChannel_rankOne_rotated (k := k) (rankFlatCoupling 1 (by omega) n m)
78 (rankFlatCoupling_map_fst 1 (by omega) n m) (rankFlatCoupling_map_snd 1 (by omega) n m)
79 hnm (U : Matrix (Fin (1+k)) (Fin (1+k)) ℂ) (Unitary.star_mul_self_of_mem U.property)
80 rw [matrixTensorPower_rankOne_rotated] at hh
81 apply Subtype.ext
82 have he := congrArg Subtype.val hh
83 change ((flatCoupledChannel k (by omega) (rankFlatCoupling 1 (by omega) n m)
84 (rankFlatCoupling_map_fst 1 (by omega) n m)
85 (rankFlatCoupling_map_snd 1 (by omega) n m)).toLinearMap
86 (vectorProjector (tensorVector (fun _ : Fin n=>
87 matrixRegister (U : Matrix (Fin (1+k)) (Fin (1+k)) ℂ) (registerBasis (Fin (1+k)) 0))))).1=
88 pureWernerOperator k (matrixRegister (U : Matrix (Fin (1+k)) (Fin (1+k)) ℂ)
89 (registerBasis (Fin (1+k)) 0)) (inputSlots n m hnm) at he
90 simpa only [hU] using he
91
92/-- The two manuscript protocols agree exactly at rank one, at every finite
93input and output sample size in the cloning regime. -/
94theorem rankFlatChannel_eq_rankOnePCT_tensorProjector (k n t : ℕ)
95 (ψ : Register (Fin (1+k))) (hψ : ‖ψ‖=1) :
96 (rankFlatChannel 1 k (by omega) n (n+t)).toLinearMap
97 (vectorProjector (tensorVector (fun _ : Fin n=>ψ)))=
98 (Cloning.PhysicalFlatPCT.channel 0 k n t).toLinearMap
99 (vectorProjector (tensorVector (fun _ : Fin n=>ψ))) := by
100 rw [rankFlatChannel_tensorProjector k n (n+t) (Nat.le_add_right n t) ψ hψ,
101 Cloning.PCTRankOne.channel_tensorProjector k n t ψ hψ]
102
103end Cloning.TensorCloning