Offline · exact source
Exact Lean source

PhysicalCloningConverseQuantumReduction

formalization/Cloning/PhysicalCloningConverseQuantumReduction.lean

Source hash: 4763939a2370ecc6e4262590c8bec0a130c415fb15003d4c95c2a190e4c9a07e

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.

In the dependency map: Physical LAN

Paper ↔ Lean correspondence in this module
Declarations in this module
1import Cloning.PhysicalCloningConversePreparation
2import Cloning.PCTUnitaryTransportChannels
3 
4/-! Exact removal of the fixed classical Gaussian register for the known-
5spectrum experiment, using genuine preparation and integration channels. -/
6noncomputable section
7open scoped Topology BigOperators
8open MeasureTheory
9namespace Cloning.PhysicalCloningConverse
10open Cloning.InfiniteTraceClass Cloning.Hybrid Cloning.MultimodeCoherent
11open Cloning.MultimodeCoherentGaussianMixture Cloning.PCTPhysicalFidelity
12open Cloning.ThermalWitness Cloning.PCTUnitaryTransport
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1400000
15variable {k s : ℕ}
16variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
17 
18def prepareStandard (k s : ℕ) : QuantumToHybrid (Fock s) (Fock s) (volume : Measure (Fin k → ℝ)) :=
19  QuantumToHybrid.prepare (standardDensity k) (integrable_standardDensity k)
20    (standardDensity_nonneg k) (integral_standardDensity k)
21 
22def removeClassicalReverse
23    (S : HybridToQuantum (Fock s) H (volume : Measure (Fin k → ℝ))) :
24    HybridToQuantum (Fock s) H (volume : Measure (Fin 0 → ℝ)) :=
25  postQuantum (S.compQuantumToHybrid (prepareStandard k s)) HybridToQuantum.integrate
26 
27def removeClassicalForward
28    (T : QuantumToHybrid H (Fock s) (volume : Measure (Fin k → ℝ))) :
29    QuantumToHybrid H (Fock s) (volume : Measure (Fin 0 → ℝ)) :=
30  (prepareStandard 0 s).compQuantum (HybridToQuantum.integrate.compQuantumToHybrid T)
31 
32@[simp] theorem removeClassicalReverse_prepare
33    (S : HybridToQuantum (Fock s) H (volume : Measure (Fin k → ℝ)))
34    (D : TraceClass (Fock s)) :
35    (removeClassicalReverse S).map ((prepareStandard 0 s).map D) =
36      S.map ((prepareStandard k s).map D) := by
37  change S.map ((prepareStandard k s).map (HybridToQuantum.integrate.map ((prepareStandard 0 s).map D))) = _
38  simp only [prepareStandard, HybridToQuantum.integrate_prepare]
39 
40theorem removeClassicalForward_error
41    (T : QuantumToHybrid H (Fock s) (volume : Measure (Fin k → ℝ)))
42    (A : TraceClass H) (D : TraceClass (Fock s)) :
43    ‖(removeClassicalForward T).map A - (prepareStandard 0 s).map D‖ ≤
44      ‖T.map A - (prepareStandard k s).map D‖ := by
45  change ‖(prepareStandard 0 s).map (HybridToQuantum.integrate.map (T.map A)) -
46    (prepareStandard 0 s).map D‖ ≤ _
47  rw [← map_sub]
48  change ‖prepareL1 (standardDensity 0) (integrable_standardDensity 0)
49    (HybridToQuantum.integrate.map (T.map A)-D)‖ ≤ _
50  rw [norm_prepareL1 _ _ (standardDensity_nonneg 0) (integral_standardDensity 0)]
51  have he : HybridToQuantum.integrate.map ((prepareStandard k s).map D) = D :=
52    HybridToQuantum.integrate_prepare (standardDensity k) (integrable_standardDensity k)
53      (standardDensity_nonneg k) (integral_standardDensity k) D
54  have hle := HybridToQuantum.integrate_norm_le (T.map A - (prepareStandard k s).map D)
55  simpa only [map_sub, he] using hle
56 
57/-- The zero-dimensional classical model, still in the genuine hybrid
58channel category, has the same literal thermal quantum state. -/
59def orbitalReference (p : SimpleSpectrum (k+1)) (e : Fin s ≃ PairIndex (k+1)) : HybridPositive 0 s :=
60  gaussianThermalPositive (fun _ : Fin 0 => 1/2) (fun _ => by norm_num)
61    (fun i => p.ratio (e i)) (fun i => (p.ratio_pos (e i)).le) (fun i => p.ratio_lt_one (e i))
62 
63theorem translated_orbitalReference_eq_prepare (p : SimpleSpectrum (k+1))
64    (e : Fin s ≃ PairIndex (k+1)) (ξ : PhaseSpace 0 s) :
65    (translatedPositive ξ (orbitalReference p e)).1 =
66      (prepareStandard 0 s).map (displacedProductThermal p e ξ.2) := by
67  have hξ : ξ.1 = 0 := Subsingleton.elim _ _
68  rw [translatedPositive_val]
69  change hybridTranslation ξ (gaussianThermalField _ _ _ _ _).toL1 = _
70  rw [gaussianThermalField_toL1]
71  have hpair : ξ = (0,ξ.2) := by ext <;> simp [hξ]
72  rw [hpair, Cloning.PCTHybridMixture.hybridTranslation_prepare, classicalTranslation_zero]
73  rfl
74 
75def orbitalParameters (e : Fin s ≃ PairIndex (k+1)) (ξ : PhaseSpace 0 s) : Parameters k :=
76  (0,fun a => ξ.2 (e.symm a))
77 
78theorem continuous_orbitalParameters (e : Fin s ≃ PairIndex (k+1)) :
79    Continuous (orbitalParameters e) := by unfold orbitalParameters; fun_prop
80 
81theorem orbitalParameters_sum_zero (e : Fin s ≃ PairIndex (k+1)) (ξ : PhaseSpace 0 s) :
82    ∑ i, (orbitalParameters e ξ).1 i = 0 := by simp [orbitalParameters]
83 
84theorem model_orbitalParameters_eq_prepare (p : SimpleSpectrum (k+1))
85    (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin s ≃ PairIndex (k+1))
86    (ξ : PhaseSpace 0 s) :
87    (model p b e (orbitalParameters e ξ)).1 =
88      (prepareStandard k s).map (displacedProductThermal p e ξ.2) := by
89  rw [model_eq_prepare_translated]
90  have hw : PCTJointGaussianWhitening.whiten p.eigenvalue b (0 : Fin (k+1) → ℝ) = 0 := by
91    funext i
92    simp [PCTJointGaussianWhitening.whiten]
93  simp only [orbitalParameters, Equiv.symm_apply_apply, hw]
94  change prepareL1 (fun x => standardDensity k (x-0)) _ _ = _
95  simp only [sub_zero]
96  rfl
97 
98theorem orbitalParameters_smul (e : Fin s ≃ PairIndex (k+1)) (c : ℝ) (ξ : PhaseSpace 0 s) :
99    orbitalParameters e (c • ξ) = c • orbitalParameters e ξ := by ext <;> simp [orbitalParameters]
100 
101end Cloning.PhysicalCloningConverse