Offline · exact source
Exact Lean source

GeneralCoherentChannels

formalization/Cloning/GeneralCoherentChannels.lean

Source hash: cf96d37b0013024f7ecaebfdf21d5beda9da7dd7df041fdc8dc3efe375e04a85

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.GeneralCoherentLimits
2 
3/-! Compact-uniform, two-way quantum approximation of the explicit pure-state
4model in arbitrary finite dimension. Both channels act on the whole operator
5spaces and are independent of the local amplitude. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder Topology
8open Filter Cloning.InfiniteTraceClass
9namespace Cloning.GeneralCoherent
10open GeneralSymmetricOccupation
11set_option maxHeartbeats 1000000
12set_option backward.isDefEq.respectTransparency false
13 
14/-- Uniform Hilbert convergence of the physical occupation vectors on every
15compact parameter window. No uniformity or equicontinuity assumption remains. -/
16theorem productVector_uniform_on_compact {s : ℕ} {K : Set (Fin s → ℂ)}
17    (hK : IsCompact K) (ε : ℝ) (hε : 0 < ε) :
18    ∀ᶠ L in atTop, ∀ z ∈ K,
19      ‖productVector z L - MultimodeCoherent.coherentVector z‖ < ε := by
20  classical
21  by_contra h
22  rw [eventually_atTop] at h
23  push_neg at h
24  choose L hL z hz hbad using h
25  have hLtop : Tendsto L atTop atTop := tendsto_atTop_mono hL tendsto_id
26  obtain ⟨w, hw, φ, hφ, ht⟩ := hK.tendsto_subseq hz
27  have hp := productVector_moving_tendsto (L ∘ φ) (hLtop.comp hφ.tendsto_atTop) (z ∘ φ) ht
28  have hc := (MultimodeCoherent.continuous_coherentVector s).tendsto w |>.comp ht
29  have he : Tendsto (fun n => ‖productVector (z (φ n)) (L (φ n)) -
30      MultimodeCoherent.coherentVector (z (φ n))‖) atTop (𝓝 0) := by
31    simpa only [Function.comp_def, sub_self, norm_zero] using (hp.sub hc).norm
32  obtain ⟨n, hn⟩ := (he.eventually (gt_mem_nhds hε)).exists
33  exact (not_lt_of_ge (hbad (φ n))) hn
34 
35theorem productVector_tendstoUniformlyOn_compact {s : ℕ} {K : Set (Fin s → ℂ)}
36    (hK : IsCompact K) :
37    TendstoUniformlyOn (fun L z => productVector z L) MultimodeCoherent.coherentVector atTop K := by
38  apply Metric.tendstoUniformlyOn_iff.mpr
39  intro ε hε
40  simpa only [dist_eq_norm, norm_sub_rev] using productVector_uniform_on_compact hK ε hε
41 
42/-- A CPTP forward map from multimode Fock space to the entire computational
43tensor space; the truncated occupation complement is replaced by vacuum. -/
44def occupationChannel (L s : ℕ) : QuantumChannel (FockSpace s) (TensorSpace L (s + 1)) :=
45  (QuantumChannel.ofIsometry (isometry L (s + 1))).comp
46    (QuantumChannel.isometricRecovery (occupationPad L s) (vacuumRegister L s))
47 
48theorem occupationChannel_productVector {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
49    (occupationChannel L s).toLinearMap (vectorProjector (productVector z L)) =
50      vectorProjector (productTensor z L) := by
51  change (QuantumChannel.ofIsometry (isometry L (s + 1))).toLinearMap
52    ((QuantumChannel.isometricRecovery (occupationPad L s) (vacuumRegister L s)).toLinearMap
53      (vectorProjector (occupationPad L s (finiteProductVector z L)))) = _
54  rw [QuantumChannel.isometricRecovery_vectorProjector,
55    QuantumChannel.ofIsometry_vectorProjector, isometry_finiteProductVector]
56 
57theorem occupationRecovery_productTensor {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
58    (GeneralSymmetricOccupation.occupationRecovery L s).toLinearMap
59      (vectorProjector (productTensor z L)) = vectorProjector (productVector z L) := by
60  rw [← isometry_finiteProductVector z L]
61  change (QuantumChannel.ofIsometry (occupationPad L s)).toLinearMap
62    ((QuantumChannel.isometricRecovery (isometry L (s + 1)) (vacuumRegister L s)).toLinearMap
63      (vectorProjector (isometry L (s + 1) (finiteProductVector z L)))) = _
64  rw [QuantumChannel.isometricRecovery_vectorProjector, QuantumChannel.ofIsometry_vectorProjector]
65  rfl
66 
67theorem product_projector_distance_le {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
68    ‖vectorProjector (productVector z L) - vectorProjector (MultimodeCoherent.coherentVector z)‖ ≤
69      2 * ‖productVector z L - MultimodeCoherent.coherentVector z‖ := by
70  simpa only [productVector_norm, MultimodeCoherent.coherentVector_norm,
71    show (1 : ℝ) + 1 = 2 by norm_num] using
72    norm_vectorProjector_sub_le (productVector z L) (MultimodeCoherent.coherentVector z)
73 
74theorem occupationChannel_coherent_distance_le {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
75    ‖(occupationChannel L s).toLinearMap (vectorProjector (MultimodeCoherent.coherentVector z)) -
76      vectorProjector (productTensor z L)‖ ≤
77      2 * ‖productVector z L - MultimodeCoherent.coherentVector z‖ := by
78  rw [← occupationChannel_productVector z L]
79  have hpos (x : FockSpace s) : 0 ≤ (vectorProjector x).1 :=
80    (InnerProductSpace.rankOne ℂ x x).nonneg_iff_isPositive.mpr
81      (InnerProductSpace.isPositive_rankOne_self x)
82  refine ((occupationChannel L s).toPositiveTracePreservingMap.norm_map_sub_le _ _
83    (hpos _) (hpos _)).trans ?_
84  simpa only [norm_sub_rev] using product_projector_distance_le z L
85 
86theorem occupationRecovery_coherent_distance_le {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
87    ‖(GeneralSymmetricOccupation.occupationRecovery L s).toLinearMap
88      (vectorProjector (productTensor z L)) - vectorProjector (MultimodeCoherent.coherentVector z)‖ ≤
89      2 * ‖productVector z L - MultimodeCoherent.coherentVector z‖ := by
90  rw [occupationRecovery_productTensor]
91  exact product_projector_distance_le z L
92 
93/-- The actual general-dimensional pure tensor model and the multimode
94coherent-state model are equivalent in both directions, uniformly on every
95compact local-parameter window. -/
96theorem twoWay_coherent_product_uniform_on_compact {s : ℕ} {K : Set (Fin s → ℂ)}
97    (hK : IsCompact K) (ε : ℝ) (hε : 0 < ε) :
98    ∀ᶠ L in atTop, ∀ z ∈ K,
99      (‖(occupationChannel L s).toLinearMap (vectorProjector (MultimodeCoherent.coherentVector z)) -
100        vectorProjector (productTensor z L)‖ < ε) ∧
101      (‖(GeneralSymmetricOccupation.occupationRecovery L s).toLinearMap
102        (vectorProjector (productTensor z L)) - vectorProjector (MultimodeCoherent.coherentVector z)‖ < ε) := by
103  filter_upwards [productVector_uniform_on_compact hK (ε / 2) (by positivity)] with L hL z hz
104  have hb : 2 * ‖productVector z L - MultimodeCoherent.coherentVector z‖ < ε := by
105    linarith [hL z hz]
106  exact ⟨lt_of_le_of_lt (occupationChannel_coherent_distance_le z L) hb,
107    lt_of_le_of_lt (occupationRecovery_coherent_distance_le z L) hb⟩
108 
109/-- The channels are fixed before selecting the unknown local amplitude or
110any compact parameter window. This is a proved finite-dimensional pure-state
111LAN instance, including zero modes and zero amplitudes. -/
112theorem exists_twoWay_coherent_product_channels (s : ℕ) :
113    ∃ (forward : ∀ L, QuantumChannel (FockSpace s) (TensorSpace L (s + 1)))
114      (reverse : ∀ L, QuantumChannel (TensorSpace L (s + 1)) (FockSpace s)),
115      ∀ K : Set (Fin s → ℂ), IsCompact K → ∀ ε : ℝ, 0 < ε →
116        ∀ᶠ L in atTop, ∀ z ∈ K,
117          (‖(forward L).toLinearMap (vectorProjector (MultimodeCoherent.coherentVector z)) -
118            vectorProjector (productTensor z L)‖ < ε) ∧
119          (‖(reverse L).toLinearMap (vectorProjector (productTensor z L)) -
120            vectorProjector (MultimodeCoherent.coherentVector z)‖ < ε) := by
121  exact ⟨fun L => occupationChannel L s, fun L => GeneralSymmetricOccupation.occupationRecovery L s,
122    fun _ hK ε hε => twoWay_coherent_product_uniform_on_compact hK ε hε⟩
123 
124end Cloning.GeneralCoherent