Exact Lean source
MixedChannelsSectorInstrument
formalization/Cloning/MixedChannelsSectorInstrument.lean
Source hash: e0a9115a4a95dd76b0c00233fe5544b354006ee14f7e24f3de993a25ba1176e7
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
theorem
Cloning.Hybrid.hilbertSum_adjoint_eq_coordinatedefinition Cloning.Hybrid.hilbertSumProjectiontheorem Cloning.Hybrid.hilbertSumProjection_completetheorem Cloning.Hybrid.hilbertSum_compressed_tracetheorem Cloning.Hybrid.hilbertSum_compressed_trace_sumdefinition Cloning.Hybrid.sectorInstrumentParttheorem Cloning.Hybrid.sectorInstrumentPart_completelyPositivetheorem Cloning.Hybrid.sectorInstrumentPart_trace_sumdefinition Cloning.Hybrid.QuantumToHybrid.ofHilbertSumtheorem Cloning.Hybrid.QuantumToHybrid.ofHilbertSum_apply1import Cloning.MixedChannelsFiniteInstrument
2import Mathlib.Analysis.InnerProductSpace.l2Space
3
4/-! Quantum-to-hybrid assembly from a genuine finite orthogonal decomposition.
5Each summand may have its own Hilbert space and its own actual quantum channel.
6The trace normalization of the instrument follows from the complete Hilbert sum.
7-/
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators Classical ENNReal
10open MeasureTheory Filter Cloning.InfiniteTraceClass
11namespace Cloning.Hybrid
12set_option backward.isDefEq.respectTransparency false
13
14variable {Ω H K ι : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
15 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
16 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
17 [Fintype ι] {E : ι → Type*}
18 [∀ i, NormedAddCommGroup (E i)] [∀ i, InnerProductSpace ℂ (E i)]
19 [∀ i, CompleteSpace (E i)]
20 (V : ∀ i, E i →ₗᵢ[ℂ] H) (hV : IsHilbertSum ℂ E V)
21
22theorem hilbertSum_adjoint_eq_coordinate (i : ι) (x : H) :
23 (V i).toContinuousLinearMap.adjoint x = hV.linearIsometryEquiv x i := by
24 apply ext_inner_left ℂ
25 intro y
26 rw [ContinuousLinearMap.adjoint_inner_right]
27 calc
28 ⟪V i y, x⟫_ℂ =
29 ⟪hV.linearIsometryEquiv.symm (lp.single 2 i y),
30 hV.linearIsometryEquiv.symm (hV.linearIsometryEquiv x)⟫_ℂ := by
31 rw [IsHilbertSum.linearIsometryEquiv_symm_apply_single,
32 LinearIsometryEquiv.symm_apply_apply]
33 _ = _ := by rw [LinearIsometryEquiv.inner_map_map, lp.inner_single_left]
34
35def hilbertSumProjection (i : ι) : H →L[ℂ] H :=
36 (V i).toContinuousLinearMap.comp (V i).toContinuousLinearMap.adjoint
37
38include hV in
39theorem hilbertSumProjection_complete : RectangularKrausComplete (hilbertSumProjection V) := by
40 intro x
41 have hs := lp.hasSum_norm (by norm_num : 0 < (2 : ℝ≥0∞).toReal)
42 (hV.linearIsometryEquiv x)
43 simpa only [hilbertSumProjection, ContinuousLinearMap.comp_apply,
44 LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.norm_map,
45 hilbertSum_adjoint_eq_coordinate V hV, ENNReal.toReal_ofNat, Real.rpow_two,
46 LinearIsometryEquiv.norm_map] using hs
47
48theorem hilbertSum_compressed_trace (i : ι) (A : TraceClass H) :
49 traceCLM (conjugationLinearMap (V i).toContinuousLinearMap.adjoint A) =
50 traceCLM (conjugationLinearMap (hilbertSumProjection V i) A) := by
51 rw [← conjugationLinearMap_isometry_trace (V i)
52 (conjugationLinearMap (V i).toContinuousLinearMap.adjoint A)]
53 congr 1
54 apply Subtype.ext
55 ext x
56 simp only [conjugationLinearMap_coe, operatorConjugation_apply,
57 hilbertSumProjection, ContinuousLinearMap.adjoint_comp,
58 ContinuousLinearMap.adjoint_adjoint, ContinuousLinearMap.comp_apply]
59
60include hV in
61theorem hilbertSum_compressed_trace_sum (A : TraceClass H) :
62 (∑ i, traceCLM (conjugationLinearMap (V i).toContinuousLinearMap.adjoint A)) =
63 traceCLM A := by
64 simp_rw [hilbertSum_compressed_trace V]
65 simpa only [rectangularKrausLinearMap_apply, tsum_fintype, map_sum] using
66 rectangularKrausLinearMap_trace (hilbertSumProjection V)
67 (hilbertSumProjection_complete V hV) A
68
69variable (Φ : ∀ i, QuantumChannel (E i) K)
70 (g : ι → Ω → ℝ) (hg : ∀ i, Integrable (g i) μ)
71 (hg0 : ∀ i y, 0 ≤ g i y) (hprob : ∀ i, ∫ y, g i y ∂μ = 1)
72
73def sectorInstrumentPart (i : ι) : TraceClass H →ₗ[ℂ] TraceClass K :=
74 (Φ i).toLinearMap.comp (conjugationLinearMap (V i).toContinuousLinearMap.adjoint)
75
76theorem sectorInstrumentPart_completelyPositive (i : ι) :
77 IsCompletelyPositive (sectorInstrumentPart V Φ i) := by
78 intro n A hA
79 exact (Φ i).completelyPositive n _
80 (conjugationLinearMap_completelyPositive (V i).toContinuousLinearMap.adjoint n A hA)
81
82include hV in
83theorem sectorInstrumentPart_trace_sum (A : TraceClass H) :
84 (∑ i, traceCLM (sectorInstrumentPart V Φ i A)) = traceCLM A := by
85 calc
86 _ = ∑ i, traceCLM (conjugationLinearMap (V i).toContinuousLinearMap.adjoint A) := by
87 apply Finset.sum_congr rfl
88 intro i _
89 exact (Φ i).toPositiveTracePreservingMap.trace_preserving _
90 _ = _ := hilbertSum_compressed_trace_sum V hV A
91
92/-- A complete physical orthogonal decomposition and genuine sector channels
93produce the forward mixed channel, without a separate normalization premise. -/
94def QuantumToHybrid.ofHilbertSum : QuantumToHybrid H K μ :=
95 QuantumToHybrid.finiteInstrument (sectorInstrumentPart V Φ)
96 (sectorInstrumentPart_completelyPositive V Φ) (sectorInstrumentPart_trace_sum V hV Φ)
97 g hg hg0 hprob
98
99@[simp] theorem QuantumToHybrid.ofHilbertSum_apply (A : TraceClass H) :
100 (QuantumToHybrid.ofHilbertSum V hV Φ g hg hg0 hprob).map A =
101 ∑ i, prepareL1 (g i) (hg i)
102 ((Φ i).toLinearMap (conjugationLinearMap (V i).toContinuousLinearMap.adjoint A)) :=
103 finiteInstrumentLinearMap_apply _ _ _ _
104
105end Cloning.Hybrid