Exact Lean source
HybridCovariantWeighted
formalization/Cloning/HybridCovariantWeighted.lean
Source hash: 43767e9d7eac344462c94ae5fb042d4cabb87d5168886cbfc9db3a6956776482
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.weightedL1IntegralCLMtheorem Cloning.Hybrid.weightedL1IntegralCLM_applytheorem Cloning.Hybrid.norm_weightedL1IntegralCLM_letheorem Cloning.Hybrid.prepareL1_compLptheorem Cloning.Hybrid.weightedL1Integral_compLptheorem Cloning.Hybrid.norm_prepareL1definition Cloning.Hybrid.quantumL1Actiontheorem Cloning.Hybrid.quantumL1Action_aetheorem Cloning.Hybrid.norm_quantumL1Actiontheorem Cloning.Hybrid.quantumL1Action_addtheorem Cloning.Hybrid.quantumL1Action_zerotheorem Cloning.Hybrid.weightedQuantumMap_weyl_covariancetheorem Cloning.Hybrid.weightedQuantumMap_weyl_error_le1import Cloning.HybridWeightedTrace
2import Cloning.WeylMultimodeChannel
3
4/-! Fibrewise quantum displacement on the actual operator-valued L1 space,
5and its passage through preparation and weighted quantum extraction. -/
6
7noncomputable section
8open scoped ComplexOrder InnerProductSpace Topology BigOperators
9open MeasureTheory Filter Cloning.InfiniteTraceClass
10namespace Cloning.Hybrid
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1000000
13
14variable {Ω H K : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
15 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
16 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
17
18/-- Bounded integration of an L1 quantum density against a scalar weight. -/
19def weightedL1IntegralCLM (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
20 {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) :
21 Lp (TraceClass H) 1 μ →L[ℂ] TraceClass H :=
22 (weightedL1Integral χ hχ hbound).mkContinuous C
23 (norm_weightedL1Integral_le χ hχ hbound)
24
25@[simp] theorem weightedL1IntegralCLM_apply (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
26 {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) (A : Lp (TraceClass H) 1 μ) :
27 weightedL1IntegralCLM χ hχ hbound A = weightedL1Integral χ hχ hbound A := rfl
28
29theorem norm_weightedL1IntegralCLM_le (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
30 {C : ℝ} (hC : 0 ≤ C) (hbound : ∀ y, ‖χ y‖ ≤ C) :
31 ‖weightedL1IntegralCLM (H := H) χ hχ hbound‖ ≤ C :=
32 ContinuousLinearMap.opNorm_le_bound _ hC (norm_weightedL1Integral_le χ hχ hbound)
33
34theorem prepareL1_compLp (T : TraceClass H →L[ℂ] TraceClass K)
35 (g : Ω → ℝ) (hg : Integrable g μ) (A : TraceClass H) :
36 prepareL1 g hg (T A) = T.compLpL 1 μ (prepareL1 g hg A) := by
37 apply Lp.ext
38 filter_upwards [prepareL1_ae g hg (T A), T.coeFn_compLpL (prepareL1 g hg A),
39 prepareL1_ae g hg A] with y h₁ h₂ h₃
40 rw [h₁, h₂, h₃, map_smul]
41
42theorem weightedL1Integral_compLp (T : TraceClass H →L[ℂ] TraceClass K)
43 (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
44 {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) (A : Lp (TraceClass H) 1 μ) :
45 weightedL1Integral χ hχ hbound (T.compLpL 1 μ A) =
46 T (weightedL1Integral χ hχ hbound A) := by
47 change (∫ y, (χ y : ℂ) • (T.compLpL 1 μ A) y ∂μ) =
48 T (∫ y, (χ y : ℂ) • A y ∂μ)
49 rw [← T.integral_comp_comm (weightedL1_integrable χ hχ hbound A)]
50 apply integral_congr_ae
51 filter_upwards [T.coeFn_compLpL A] with y hy
52 rw [hy, map_smul]
53
54theorem norm_prepareL1 (g : Ω → ℝ) (hg : Integrable g μ)
55 (hg0 : ∀ y, 0 ≤ g y) (hprob : ∫ y, g y ∂μ = 1) (A : TraceClass H) :
56 ‖prepareL1 g hg A‖ = ‖A‖ := by
57 rw [L1.norm_eq_integral_norm]
58 calc
59 _ = ∫ y, g y * ‖A‖ ∂μ := by
60 apply integral_congr_ae
61 filter_upwards [prepareL1_ae g hg A] with y hy
62 rw [hy, norm_smul, Complex.norm_real, Real.norm_of_nonneg (hg0 y)]
63 _ = _ := by rw [integral_mul_const, hprob, one_mul]
64
65open Cloning.MultimodeCoherent
66variable {s : ℕ}
67
68/-- The actual Weyl action in every quantum fibre of the L1 register. -/
69def quantumL1Action (z : Fin s → ℂ) :
70 Lp (TraceClass (Fock s)) 1 μ →L[ℂ] Lp (TraceClass (Fock s)) 1 μ :=
71 (displacementTraceMap z).compLpL 1 μ
72
73theorem quantumL1Action_ae (z : Fin s → ℂ) (A : Lp (TraceClass (Fock s)) 1 μ) :
74 quantumL1Action z A =ᵐ[μ] fun y => displacementTraceMap z (A y) :=
75 (displacementTraceMap z).coeFn_compLpL A
76
77theorem norm_quantumL1Action (z : Fin s → ℂ) (A : Lp (TraceClass (Fock s)) 1 μ) :
78 ‖quantumL1Action z A‖ = ‖A‖ := by
79 rw [L1.norm_eq_integral_norm, L1.norm_eq_integral_norm]
80 apply integral_congr_ae
81 filter_upwards [quantumL1Action_ae z A] with y hy
82 rw [hy, displacementTraceMap_norm]
83
84theorem quantumL1Action_add (z w : Fin s → ℂ) (A : Lp (TraceClass (Fock s)) 1 μ) :
85 quantumL1Action (z + w) A = quantumL1Action z (quantumL1Action w A) := by
86 apply Lp.ext
87 filter_upwards [quantumL1Action_ae (z + w) A,
88 quantumL1Action_ae z (quantumL1Action w A), quantumL1Action_ae w A] with y h₁ h₂ h₃
89 rw [h₁, h₂, h₃, displacementTraceMap_add]
90
91@[simp] theorem quantumL1Action_zero (A : Lp (TraceClass (Fock s)) 1 μ) :
92 quantumL1Action 0 A = A := by
93 apply Lp.ext
94 filter_upwards [quantumL1Action_ae 0 A] with y hy
95 rw [hy]
96 apply Subtype.ext
97 ext v : 1
98 change displacement 0 ((A y).1 (displacement (-0) v)) = (A y).1 v
99 simp
100
101/-- Preparation and weighted output integration give exact Weyl covariance
102whenever the actual hybrid map is covariant in its quantum fibres. -/
103theorem weightedQuantumMap_weyl_covariance
104 (Λ : Lp (TraceClass (Fock s)) 1 μ →ₗ[ℂ] Lp (TraceClass (Fock s)) 1 μ) (r : ℝ)
105 (hΛ : ∀ z A, Λ (quantumL1Action z A) = quantumL1Action (r • z) (Λ A))
106 (g : Ω → ℝ) (hg : Integrable g μ)
107 (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
108 {C : ℝ} (hbound : ∀ y, ‖χ y‖ ≤ C) (z : Fin s → ℂ) (X : TraceClass (Fock s)) :
109 weightedQuantumMap Λ g hg χ hχ hbound (displacementTraceMap z X) =
110 displacementTraceMap (r • z) (weightedQuantumMap Λ g hg χ hχ hbound X) := by
111 change weightedL1Integral χ hχ hbound (Λ (prepareL1 g hg (displacementTraceMap z X))) = _
112 rw [prepareL1_compLp]
113 change weightedL1Integral χ hχ hbound (Λ (quantumL1Action z (prepareL1 g hg X))) = _
114 rw [hΛ]
115 exact weightedL1Integral_compLp (displacementTraceMap (r • z)) χ hχ hbound _
116
117/-- Quantitative covariance passes to the extracted quantum map with exactly
118the norm of the classical weight, and no loss from preparation. -/
119theorem weightedQuantumMap_weyl_error_le
120 (Λ : Lp (TraceClass (Fock s)) 1 μ →ₗ[ℂ] Lp (TraceClass (Fock s)) 1 μ) (r : ℝ)
121 (g : Ω → ℝ) (hg : Integrable g μ) (hg0 : ∀ y, 0 ≤ g y)
122 (hprob : ∫ y, g y ∂μ = 1)
123 (χ : Ω → ℝ) (hχ : AEStronglyMeasurable χ μ)
124 {C : ℝ} (hC : 0 ≤ C) (hbound : ∀ y, ‖χ y‖ ≤ C)
125 (z : Fin s → ℂ) (b : ℝ)
126 (herror : ∀ A, ‖Λ (quantumL1Action z A) - quantumL1Action (r • z) (Λ A)‖ ≤ b * ‖A‖)
127 (X : TraceClass (Fock s)) :
128 ‖weightedQuantumMap Λ g hg χ hχ hbound (displacementTraceMap z X) -
129 displacementTraceMap (r • z) (weightedQuantumMap Λ g hg χ hχ hbound X)‖ ≤
130 C * b * ‖X‖ := by
131 change ‖weightedL1Integral χ hχ hbound (Λ (prepareL1 g hg (displacementTraceMap z X))) -
132 displacementTraceMap (r • z) (weightedL1Integral χ hχ hbound (Λ (prepareL1 g hg X)))‖ ≤ _
133 rw [prepareL1_compLp, ← weightedL1Integral_compLp, ← map_sub]
134 calc
135 _ ≤ C * ‖Λ (quantumL1Action z (prepareL1 g hg X)) -
136 quantumL1Action (r • z) (Λ (prepareL1 g hg X))‖ :=
137 norm_weightedL1Integral_le χ hχ hbound _
138 _ ≤ C * (b * ‖prepareL1 g hg X‖) := mul_le_mul_of_nonneg_left (herror _) hC
139 _ = _ := by rw [norm_prepareL1 g hg hg0 hprob]; ring
140
141end Cloning.Hybrid