Exact Lean source
HybridGaussianAttainmentChannel
formalization/Cloning/HybridGaussianAttainmentChannel.lean
Source hash: 596f5727efa414db0d3ce4611c6cf411fa778b4f82af18090532f25ee11a7a31
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.Hybrid.classicalDilationtheorem Cloning.Hybrid.classicalDilation_aetheorem Cloning.Hybrid.classicalDilation_completelyPositivetheorem Cloning.Hybrid.classicalDilation_tracePreservingdefinition Cloning.Hybrid.classicalDilationChanneldefinition Cloning.Hybrid.fibreChanneltheorem Cloning.Hybrid.fibreChannel_aedefinition Cloning.Hybrid.gaussianAmplifierChanneltheorem Cloning.Hybrid.gaussianAmplifierChannel_ae1import Cloning.HybridCovariantization
2import Cloning.AmplifierWeylThermal
3import Mathlib.MeasureTheory.Measure.Haar.NormedSpace
4
5/-! A genuine hybrid channel implementing deterministic classical dilation
6and the physical quantum amplifier. Both operations act on all operator-valued
7L1 inputs, including correlated classical--quantum inputs. -/
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators
10open MeasureTheory Filter Cloning.InfiniteTraceClass Cloning.MultimodeCoherent
11namespace Cloning.Hybrid
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1200000
14variable {k s : ℕ} {H K : Type*}
15 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
16 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
17
18private lemma dilation_integrable (r : ℝ) (hr : 0 < r)
19 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
20 Integrable (fun y : Fin k → ℝ => (((r ^ k)⁻¹ : ℝ) : ℂ) • A (r⁻¹ • y)) :=
21 ((L1.integrable_coeFn A).comp_smul (inv_ne_zero hr.ne')).smul ((((r ^ k)⁻¹ : ℝ) : ℂ))
22
23private def dilationLinear (r : ℝ) (hr : 0 < r) :
24 Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ)) →ₗ[ℂ]
25 Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ)) where
26 toFun A := (dilation_integrable r hr A).toL1 _
27 map_add' A B := by
28 apply Lp.ext
29 have he := (Measure.quasiMeasurePreserving_smul (volume : Measure (Fin k → ℝ))
30 (inv_ne_zero hr.ne')).ae (Lp.coeFn_add A B)
31 filter_upwards [(dilation_integrable r hr (A+B)).coeFn_toL1,
32 Lp.coeFn_add ((dilation_integrable r hr A).toL1 _) ((dilation_integrable r hr B).toL1 _),
33 (dilation_integrable r hr A).coeFn_toL1, (dilation_integrable r hr B).coeFn_toL1, he]
34 with y h₁ h₂ h₃ h₄ h₅
35 rw [h₁, h₂, Pi.add_apply, h₃, h₄, h₅, Pi.add_apply, smul_add]
36 map_smul' c A := by
37 apply Lp.ext
38 have he := (Measure.quasiMeasurePreserving_smul (volume : Measure (Fin k → ℝ))
39 (inv_ne_zero hr.ne')).ae (Lp.coeFn_smul c A)
40 filter_upwards [(dilation_integrable r hr (c • A)).coeFn_toL1,
41 Lp.coeFn_smul c ((dilation_integrable r hr A).toL1 _),
42 (dilation_integrable r hr A).coeFn_toL1, he] with y h₁ h₂ h₃ h₄
43 change ((dilation_integrable r hr (c • A)).toL1 _) y = _
44 simp only [RingHom.id_apply]
45 rw [h₁, h₂, Pi.smul_apply, h₃, h₄, Pi.smul_apply]
46 exact smul_comm _ _ _
47
48private lemma dilationLinear_ae (r : ℝ) (hr : 0 < r)
49 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
50 dilationLinear r hr A =ᵐ[volume]
51 fun y => (((r ^ k)⁻¹ : ℝ) : ℂ) • A (r⁻¹ • y) :=
52 (dilation_integrable r hr A).coeFn_toL1
53
54private lemma norm_dilationLinear (r : ℝ) (hr : 0 < r)
55 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
56 ‖dilationLinear r hr A‖ = ‖A‖ := by
57 rw [L1.norm_eq_integral_norm, L1.norm_eq_integral_norm]
58 calc
59 _ = ∫ y : Fin k → ℝ, (r ^ k)⁻¹ * ‖A (r⁻¹ • y)‖ := by
60 apply integral_congr_ae
61 filter_upwards [dilationLinear_ae r hr A] with y hy
62 rw [hy, norm_smul, Complex.norm_real, Real.norm_eq_abs,
63 abs_of_nonneg (inv_nonneg.mpr (pow_nonneg hr.le _))]
64 _ = _ := by
65 rw [integral_const_mul, Measure.integral_comp_inv_smul_of_nonneg volume
66 (fun y => ‖A y‖) hr.le]
67 simp only [Module.finrank_pi, Fintype.card_fin, smul_eq_mul]
68 rw [← mul_assoc, inv_mul_cancel₀ (pow_ne_zero _ hr.ne'), one_mul]
69
70/-- Dilation sends a density to `r⁻ᵏ A(y/r)` and preserves the actual L1 norm. -/
71def classicalDilation (r : ℝ) (hr : 0 < r) :
72 Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ)) →ₗᵢ[ℂ]
73 Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ)) where
74 toLinearMap := dilationLinear r hr
75 norm_map' := norm_dilationLinear r hr
76
77lemma classicalDilation_ae (r : ℝ) (hr : 0 < r)
78 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
79 classicalDilation r hr A =ᵐ[volume]
80 fun y => (((r ^ k)⁻¹ : ℝ) : ℂ) • A (r⁻¹ • y) := dilationLinear_ae r hr A
81
82lemma classicalDilation_completelyPositive (r : ℝ) (hr : 0 < r) :
83 L1CompletelyPositive (classicalDilation (H := H) (k := k) r hr).toLinearMap := by
84 intro n A hA
85 have hp := (Measure.quasiMeasurePreserving_smul (volume : Measure (Fin k → ℝ))
86 (inv_ne_zero hr.ne')).ae hA
87 have he : ∀ᵐ y ∂volume, ∀ i j : Fin n,
88 classicalDilation r hr (A i j) y = (((r ^ k)⁻¹ : ℝ) : ℂ) • A i j (r⁻¹ • y) :=
89 ae_all_iff.mpr fun i => ae_all_iff.mpr fun j => classicalDilation_ae r hr (A i j)
90 filter_upwards [hp, he] with y hp he
91 change BlockPositive (fun i j => classicalDilation r hr (A i j) y)
92 simp only [he]
93 intro v
94 change 0 ≤ ∑ i, ∑ j, ⟪v i, (((r ^ k)⁻¹ : ℝ) : ℂ) • ((A i j (r⁻¹ • y)).1 (v j))⟫_ℂ
95 simp only [inner_smul_right, ← Finset.mul_sum]
96 exact mul_nonneg (Complex.zero_le_real.mpr (inv_nonneg.mpr (pow_nonneg hr.le _))) (hp v)
97
98lemma classicalDilation_tracePreserving (r : ℝ) (hr : 0 < r) :
99 L1TracePreserving (classicalDilation (H := H) (k := k) r hr).toLinearMap := by
100 intro A
101 calc
102 _ = ∫ y : Fin k → ℝ, (((r ^ k)⁻¹ : ℝ) : ℂ) * traceCLM (A (r⁻¹ • y)) := by
103 apply integral_congr_ae
104 filter_upwards [classicalDilation_ae r hr A] with y hy
105 change traceCLM (classicalDilation r hr A y) = _
106 simp only [hy, map_smul, smul_eq_mul]
107 _ = _ := by
108 rw [integral_const_mul, Measure.integral_comp_inv_smul_of_nonneg volume
109 (fun y => traceCLM (A y)) hr.le]
110 simp only [Module.finrank_pi, Fintype.card_fin, Complex.real_smul]
111 rw [← mul_assoc, ← Complex.ofReal_mul, inv_mul_cancel₀ (pow_ne_zero _ hr.ne')]
112 simp
113
114/-- Deterministic dilation is an actual hybrid CPTP channel. -/
115def classicalDilationChannel (r : ℝ) (hr : 0 < r) :
116 Channel H H (volume : Measure (Fin k → ℝ)) where
117 map := (classicalDilation r hr).toContinuousLinearMap
118 completelyPositive := classicalDilation_completelyPositive r hr
119 tracePreserving := classicalDilation_tracePreserving r hr
120
121/-- A genuine quantum channel applied independently to every classical fibre. -/
122def fibreChannel {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω)
123 (Φ : QuantumChannel H K) : Channel H K μ where
124 map := Φ.toPositiveTracePreservingMap.toContinuousLinearMap.compLpL 1 μ
125 completelyPositive := by
126 intro n A hA
127 have he : ∀ᵐ y ∂μ, ∀ i j : Fin n,
128 Φ.toPositiveTracePreservingMap.toContinuousLinearMap.compLpL 1 μ (A i j) y =
129 Φ.toLinearMap (A i j y) :=
130 ae_all_iff.mpr fun i => ae_all_iff.mpr fun j =>
131 Φ.toPositiveTracePreservingMap.toContinuousLinearMap.coeFn_compLpL (A i j)
132 filter_upwards [he, hA] with y hy hp
133 change BlockPositive (fun i j => Φ.toPositiveTracePreservingMap.toContinuousLinearMap.compLpL 1 μ (A i j) y)
134 simpa only [hy] using Φ.completelyPositive n (fun i j => A i j y) hp
135 tracePreserving := by
136 intro A
137 apply integral_congr_ae
138 filter_upwards [Φ.toPositiveTracePreservingMap.toContinuousLinearMap.coeFn_compLpL A]
139 with y hy
140 change traceCLM (Φ.toPositiveTracePreservingMap.toContinuousLinearMap.compLpL 1 μ A y) = _
141 rw [hy]
142 exact Φ.trace_preserving _
143
144lemma fibreChannel_ae {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω)
145 (Φ : QuantumChannel H K) (A : Lp (TraceClass H) 1 μ) :
146 (fibreChannel μ Φ).map A =ᵐ[μ] fun y => Φ.toLinearMap (A y) :=
147 Φ.toPositiveTracePreservingMap.toContinuousLinearMap.coeFn_compLpL A
148
149/-- The physical product amplifier on all hybrid L1 inputs. -/
150def gaussianAmplifierChannel (g : ℝ) (hg : 1 < g) : HybridChannel k s :=
151 (fibreChannel volume (Cloning.MultimodeAmplifier.gainChannel g hg)).comp
152 (classicalDilationChannel (Real.sqrt g) (Real.sqrt_pos.mpr (by linarith)))
153
154lemma gaussianAmplifierChannel_ae (g : ℝ) (hg : 1 < g) (A : HybridSpace k s) :
155 (gaussianAmplifierChannel g hg).map A =ᵐ[volume]
156 fun y => (((Real.sqrt g ^ k)⁻¹ : ℝ) : ℂ) •
157 (Cloning.MultimodeAmplifier.gainChannel g hg).toLinearMap (A ((Real.sqrt g)⁻¹ • y)) := by
158 filter_upwards [fibreChannel_ae volume (Cloning.MultimodeAmplifier.gainChannel g hg)
159 (classicalDilationChannel (k := k) (Real.sqrt g) (Real.sqrt_pos.mpr (by linarith : 0 < g)) |>.map A),
160 classicalDilation_ae (Real.sqrt g) (Real.sqrt_pos.mpr (by linarith : 0 < g)) A]
161 with y h₁ h₂
162 change (fibreChannel volume (Cloning.MultimodeAmplifier.gainChannel g hg)).map
163 (classicalDilation (Real.sqrt g) (Real.sqrt_pos.mpr (by linarith : 0 < g)) A) y = _
164 change (fibreChannel volume (Cloning.MultimodeAmplifier.gainChannel g hg)).map
165 (classicalDilation (Real.sqrt g) (Real.sqrt_pos.mpr (by linarith : 0 < g)) A) y =
166 (Cloning.MultimodeAmplifier.gainChannel g hg).toLinearMap
167 (classicalDilation (Real.sqrt g) (Real.sqrt_pos.mpr (by linarith : 0 < g)) A y) at h₁
168 rw [h₁, h₂, map_smul]
169
170end Cloning.Hybrid