Exact Lean source
TensorLANEmbeddingFockProtocol
formalization/Cloning/TensorLANEmbeddingFockProtocol.lean
Source hash: ee87653071d932310cfd67536a78f8f491de3a27cf889ea824d94de2ce5919d8
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.QuantumToHybrid.postHybriddefinition Cloning.Hybrid.HybridToQuantum.preHybridtheorem Cloning.Hybrid.fibreChannel_preparetheorem Cloning.Hybrid.isometryEquiv_conjugation_canceldefinition Cloning.TensorLAN.physicalCoordinateForwarddefinition Cloning.TensorLAN.physicalCoordinateReversetheorem Cloning.TensorLAN.physical_model_root_coordinatestheorem Cloning.TensorLAN.physicalCoordinateReverse_modeltheorem Cloning.TensorLAN.physicalCoordinateForward_error_le1import Cloning.TensorLANEmbeddingFockStateCoordinates
2import Cloning.TensorLANEmbeddingCellProtocol
3import Cloning.HybridGaussianAttainmentChannel
4import Cloning.IsometricRecovery
5
6/-! Genuine physical LAN channels with arbitrary allowed Fock mode coordinates.
7Both maps act on all complex inputs and use inverse unitary mode transports. -/
8noncomputable section
9open scoped BigOperators Topology Classical InnerProductSpace
10open MeasureTheory Filter
11namespace Cloning.Hybrid
12open Cloning.InfiniteTraceClass
13set_option backward.isDefEq.respectTransparency false
14variable {X H K J : Type*} [MeasurableSpace X] {ν : Measure X}
15 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
16 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
17 [NormedAddCommGroup J] [InnerProductSpace ℂ J] [CompleteSpace J]
18
19def QuantumToHybrid.postHybrid (Λ : Channel K J ν) (T : QuantumToHybrid H K ν) :
20 QuantumToHybrid H J ν where
21 map := Λ.map.comp T.map
22 completelyPositive := fun n A hA => Λ.completelyPositive n _ (T.completelyPositive n A hA)
23 tracePreserving := by
24 intro A
25 change integratedTrace (Λ.map (T.map A)) = traceCLM A
26 exact (integratedTrace_apply (Λ.map (T.map A))).trans
27 ((Λ.tracePreserving (T.map A)).trans
28 ((integratedTrace_apply (T.map A)).symm.trans (T.tracePreserving A)))
29
30def HybridToQuantum.preHybrid (S : HybridToQuantum K J ν) (Λ : Channel H K ν) :
31 HybridToQuantum H J ν where
32 map := S.map.comp Λ.map
33 completelyPositive := fun n A hA => S.completelyPositive n _ (Λ.completelyPositive n A hA)
34 tracePreserving := by
35 intro A
36 apply (S.tracePreserving (Λ.map A)).trans
37 simpa only [integratedTrace_apply] using Λ.tracePreserving A
38
39theorem fibreChannel_prepare (Φ : QuantumChannel H K) (f : X → ℝ) (hf : Integrable f ν)
40 (A : TraceClass H) :
41 (fibreChannel ν Φ).map (prepareL1 f hf A) = prepareL1 f hf (Φ.toLinearMap A) :=
42 (prepareL1_compLp Φ.toPositiveTracePreservingMap.toContinuousLinearMap f hf A).symm
43
44theorem isometryEquiv_conjugation_cancel (U : H ≃ₗᵢ[ℂ] K) (A : TraceClass H) :
45 conjugationLinearMap U.symm.toLinearIsometry.toContinuousLinearMap
46 (conjugationLinearMap U.toLinearIsometry.toContinuousLinearMap A) = A := by
47 have h := conjugation_adjoint_isometry_cancel U.toLinearIsometry A
48 have hadj : U.toLinearIsometry.toContinuousLinearMap.adjoint =
49 U.symm.toLinearIsometry.toContinuousLinearMap := U.adjoint_eq_symm
50 rw [hadj] at h
51 exact h
52
53end Cloning.Hybrid
54namespace Cloning.TensorLAN
55open Cloning.PCT Cloning.PCTJointGaussianWhitening Cloning.PCTPhysicalFidelity
56open Cloning.Hybrid Cloning.InfiniteTraceClass Cloning.MultimodeCoherent Cloning.TensorLie
57open Cloning.PhysicalCloningConverse
58set_option backward.isDefEq.respectTransparency false
59set_option maxHeartbeats 1000000
60variable {k s : ℕ}
61local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
62 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
63variable (p : SimpleSpectrum (k+1))
64 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ (Fin (k+1))))
65 (hb : b 0 = sqrtSpectrum p.eigenvalue) (e : Fin s ≃ PairIndex (k+1))
66
67def physicalCoordinateForward (N Q : ℕ) :
68 QuantumToHybrid (TensorRegister N (Fin (k+1))) (Fock s) (volume : Measure (Fin k → ℝ)) :=
69 QuantumToHybrid.postHybrid
70 (fibreChannel volume (QuantumChannel.ofIsometry (rootFockReindex e).toLinearIsometry))
71 (physicalCellForward p.eigenvalue p.positive b hb N Q)
72
73def physicalCoordinateReverse (N Q : ℕ) :
74 HybridToQuantum (Fock s) (TensorRegister N (Fin (k+1))) (volume : Measure (Fin k → ℝ)) :=
75 HybridToQuantum.preHybrid (physicalCellReverse p.eigenvalue p.positive b hb N Q)
76 (fibreChannel volume (QuantumChannel.ofIsometry (rootFockReindex e).symm.toLinearIsometry))
77
78theorem physical_model_root_coordinates (θ : Parameters k) :
79 (model p b e θ).1 =
80 (fibreChannel volume (QuantumChannel.ofIsometry (rootFockReindex e).toLinearIsometry)).map
81 (prepareL1 (translatedStandardDensity (whiten p.eigenvalue b θ.1))
82 (integrable_translatedStandardDensity _) (rootDisplacedThermal p.eigenvalue θ.2)) := by
83 rw [model_eq_prepare_translated, fibreChannel_prepare]
84 exact congrArg (prepareL1 _ (integrable_translatedStandardDensity _))
85 (rootFockReindex_displacedProductThermal p e θ.2).symm
86
87theorem physicalCoordinateReverse_model (N Q : ℕ) (θ : Parameters k) :
88 (physicalCoordinateReverse p b hb e N Q).map (model p b e θ).1 =
89 (physicalCellReverse p.eigenvalue p.positive b hb N Q).map
90 (prepareL1 (translatedStandardDensity (whiten p.eigenvalue b θ.1))
91 (integrable_translatedStandardDensity _) (rootDisplacedThermal p.eigenvalue θ.2)) := by
92 rw [physical_model_root_coordinates p b e θ]
93 change (physicalCellReverse p.eigenvalue p.positive b hb N Q).map
94 ((fibreChannel volume (QuantumChannel.ofIsometry (rootFockReindex e).symm.toLinearIsometry)).map
95 ((fibreChannel volume (QuantumChannel.ofIsometry (rootFockReindex e).toLinearIsometry)).map _)) = _
96 let f := translatedStandardDensity (whiten p.eigenvalue b θ.1)
97 let hf := integrable_translatedStandardDensity (whiten p.eigenvalue b θ.1)
98 let U := QuantumChannel.ofIsometry (rootFockReindex e).toLinearIsometry
99 let V := QuantumChannel.ofIsometry (rootFockReindex e).symm.toLinearIsometry
100 let σ := rootDisplacedThermal p.eigenvalue θ.2
101 have h₁ := fibreChannel_prepare (ν := (volume : Measure (Fin k → ℝ))) U f hf σ
102 have h₂ := fibreChannel_prepare (ν := (volume : Measure (Fin k → ℝ))) V f hf (U.toLinearMap σ)
103 have h₃ := congrArg (prepareL1 f hf)
104 (isometryEquiv_conjugation_cancel (rootFockReindex e) σ)
105 exact congrArg ((physicalCellReverse p.eigenvalue p.positive b hb N Q).map)
106 (((congrArg ((fibreChannel volume V).map) h₁).trans h₂).trans h₃)
107
108theorem physicalCoordinateForward_error_le (N Q : ℕ) (θ : Parameters k)
109 (A : TraceClass (TensorRegister N (Fin (k+1)))) :
110 ‖(physicalCoordinateForward p b hb e N Q).map A-(model p b e θ).1‖ ≤
111 2*‖(physicalCellForward p.eigenvalue p.positive b hb N Q).map A-
112 prepareL1 (translatedStandardDensity (whiten p.eigenvalue b θ.1))
113 (integrable_translatedStandardDensity _) (rootDisplacedThermal p.eigenvalue θ.2)‖ := by
114 rw [physical_model_root_coordinates p b e θ]
115 let Λ := fibreChannel (volume : Measure (Fin k → ℝ))
116 (QuantumChannel.ofIsometry (rootFockReindex e).toLinearIsometry)
117 change ‖Λ.map _-Λ.map _‖ ≤ _
118 have hh := Λ.norm_le_two ((physicalCellForward p.eigenvalue p.positive b hb N Q).map A-
119 prepareL1 (translatedStandardDensity (whiten p.eigenvalue b θ.1))
120 (integrable_translatedStandardDensity _) (rootDisplacedThermal p.eigenvalue θ.2))
121 simpa only [map_sub] using hh
122
123end Cloning.TensorLAN