Exact Lean source
PCTGlobalChannels
formalization/Cloning/PCTGlobalChannels.lean
Source hash: 09c3a8133e3a17f272123e4c832f985c7d7c91e62ab416dcbac798fac2d80a36
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
definition
Cloning.PCTGlobal.purificationChanneltheorem Cloning.PCTGlobal.purificationChannel_applydefinition Cloning.PCTGlobal.sectorChanneltheorem Cloning.PCTGlobal.sectorChannel_applydefinition Cloning.PCTGlobal.physicalEmbeddingdefinition Cloning.PCTGlobal.groupedEmbeddingtheorem Cloning.PCTGlobal.physicalEmbedding_rangetheorem Cloning.PCTGlobal.regroup_surjectivetheorem Cloning.PCTGlobal.groupedEmbedding_rangetheorem Cloning.PCTGlobal.groupedEmbedding_projectiondefinition Cloning.PCTGlobal.sectorRecovery1import Cloning.FiniteKrausLift
2import Cloning.PurificationSupport
3import Cloning.WernerPhysicalAgreement
4
5/-! Actual trace-class channels and symmetric-sector recovery used in the
6state-independent full-environment PCT protocol. -/
7noncomputable section
8open scoped BigOperators Matrix InnerProductSpace ComplexOrder
9open Cloning.InfiniteTraceClass Cloning.PCT Cloning.PCTPurificationChannel
10open Cloning.GeneralSymmetricOccupation
11
12namespace Cloning.PCTGlobal
13set_option maxHeartbeats 700000
14set_option backward.isDefEq.respectTransparency false
15set_option linter.unusedSectionVars false
16
17variable {A : Type*} [Fintype A] [DecidableEq A] [Nonempty A]
18
19local instance registerFiniteDimensional (I : Type*) [Fintype I] [DecidableEq I] :
20 FiniteDimensional ℂ (Register I) :=
21 (registerBasis I).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
22
23/-- Haar random purification as a genuine trace-class channel on all inputs. -/
24def purificationChannel (n : ℕ) : QuantumChannel (Register (Fin n → A))
25 (Register ((Fin n → A) × (Fin n → A))) :=
26 FiniteKrausLift.channel (purificationKraus (haarMoment (A := A) n))
27 ((purificationKraus_normalization (haarMoment_posSemidef n)).trans
28 (partialTrace_haarMoment n))
29
30theorem purificationChannel_apply (n : ℕ) (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
31 (purificationChannel (A := A) n).toLinearMap (registerLiftCLM X) =
32 registerLiftCLM ((haarPurificationChannel n).toFun X) := by
33 rw [purificationChannel, FiniteKrausLift.channel_registerLiftCLM,
34 ← purificationMap_eq_kraus, haarPurificationChannel_apply]
35
36/-- The occupation Werner map lifted through its actual finite Kraus matrices. -/
37def sectorChannel (n r s : ℕ) : QuantumChannel (OccupationSpace n (s + 1))
38 (OccupationSpace (n + r) (s + 1)) :=
39 FiniteKrausLift.channel
40 (CartanChannel.cartanKraus (splittingMatrix n r (s + 1))
41 ((n + s).choose s : ℝ) ((n + r + s).choose s : ℝ))
42 (CartanChannel.cartanKraus_normalization _ _ _
43 (by exact_mod_cast Nat.choose_pos (Nat.le_add_left s n))
44 (by exact_mod_cast Nat.choose_pos (Nat.le_add_left s (n + r)))
45 (splittingMatrix_balance n r s))
46
47theorem sectorChannel_apply (n r s : ℕ)
48 (X : Matrix (Occupation n (s + 1)) (Occupation n (s + 1)) ℂ) :
49 (sectorChannel n r s).toLinearMap (registerLiftCLM X) =
50 registerLiftCLM ((wernerChannel n r s).toFun X) := by
51 rw [sectorChannel, FiniteKrausLift.channel_registerLiftCLM]
52 rfl
53
54/-- Occupation coordinates embedded into a chosen complete physical frame. -/
55def physicalEmbedding {s : ℕ}
56 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (L : ℕ) :
57 OccupationSpace L (s + 1) →ₗᵢ[ℂ] Register (Fin L → A × A) :=
58 (tensorFrame u.orthonormal L).comp (isometry L (s + 1))
59
60/-- The same occupation embedding with system and environment regrouped. -/
61def groupedEmbedding {s : ℕ}
62 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (L : ℕ) :
63 OccupationSpace L (s + 1) →ₗᵢ[ℂ] Register ((Fin L → A) × (Fin L → A)) :=
64 (regroup L).comp (physicalEmbedding u L)
65
66theorem physicalEmbedding_range {s : ℕ}
67 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (L : ℕ) :
68 (physicalEmbedding u L).toLinearMap.range = physicalSymmetric L := by
69 change ((tensorFrame u.orthonormal L).toLinearMap.comp
70 (isometry L (s + 1)).toLinearMap).range = _
71 rw [LinearMap.range_comp, isometry_range, physicalSymmetric_map_tensorFrame]
72
73theorem regroup_surjective (L : ℕ) :
74 Function.Surjective (regroup (A := A) (B := A) L) := by
75 intro y
76 let x : Register (Fin L → A × A) := ⟨fun w => y ((fun i => (w i).1), fun i => (w i).2),
77 memℓp_gen (by simp only [ENNReal.toReal_ofNat]; exact (hasSum_fintype _).summable)⟩
78 refine ⟨x, ?_⟩
79 ext ⟨a,b⟩
80 simp [regroup_apply, x]
81
82theorem groupedEmbedding_range {s : ℕ}
83 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (L : ℕ) :
84 (groupedEmbedding u L).toLinearMap.range = PurificationSupport.groupedSymmetric L := by
85 ext y
86 constructor
87 · rintro ⟨x,rfl⟩
88 apply (PurificationSupport.regroup_mem_groupedSymmetric_iff L _).mpr
89 rw [← physicalEmbedding_range u L]
90 exact ⟨x,rfl⟩
91 · intro hy
92 obtain ⟨z,rfl⟩ := regroup_surjective L y
93 have hz := (PurificationSupport.regroup_mem_groupedSymmetric_iff L z).mp hy
94 rw [← physicalEmbedding_range u L] at hz
95 obtain ⟨x,rfl⟩ := hz
96 exact ⟨x,rfl⟩
97
98/-- The occupation embedding resolves the physical grouped symmetric projector. -/
99theorem groupedEmbedding_projection {s : ℕ}
100 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (L : ℕ) :
101 (groupedEmbedding u L).toContinuousLinearMap.comp
102 (groupedEmbedding u L).toContinuousLinearMap.adjoint =
103 (PurificationSupport.groupedSymmetric (A := A) L).starProjection := by
104 apply ContinuousLinearMap.ext
105 intro y
106 symm
107 apply Submodule.eq_starProjection_of_mem_of_inner_eq_zero
108 · rw [← groupedEmbedding_range u L]
109 exact ⟨_,rfl⟩
110 · intro w hw
111 rw [← groupedEmbedding_range u L] at hw
112 obtain ⟨x,rfl⟩ := hw
113 rw [inner_sub_left]
114 change ⟪y, groupedEmbedding u L x⟫_ℂ -
115 ⟪groupedEmbedding u L ((groupedEmbedding u L).toContinuousLinearMap.adjoint y),
116 groupedEmbedding u L x⟫_ℂ = 0
117 rw [LinearIsometry.inner_map_map, ContinuousLinearMap.adjoint_inner_left]
118 exact sub_self _
119
120/-- Actual channel compression with a fixed replacement state off the sector. -/
121def sectorRecovery {s : ℕ}
122 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (n : ℕ) :
123 QuantumChannel (Register ((Fin n → A) × (Fin n → A))) (OccupationSpace n (s + 1)) :=
124 QuantumChannel.isometricRecovery (groupedEmbedding u n) (vacuumRegister n s)
125
126end Cloning.PCTGlobal