Exact Lean source
TensorLANEmbeddingAction
formalization/Cloning/TensorLANEmbeddingAction.lean
Source hash: 18d8bd540f1822f1edececc86b33a7807903b8dd1996a11f7c1d456216b40ca4
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.InfiniteTraceClass.traceCLM_rankOneOperatortheorem Cloning.InfiniteTraceClass.conjugationLinearMap_rankOneOperatordefinition Cloning.InfiniteTraceClass.frameMatrixtheorem Cloning.TensorLAN.frameForwardChannel_rankOnetheorem Cloning.TensorLAN.frameReverseChannel_rankOnetheorem Cloning.TensorLAN.frameForwardChannel_matrixtheorem Cloning.TensorLAN.frameReverseChannel_matrixtheorem Cloning.TensorLAN.frameForwardChannel_matrix_errortheorem Cloning.TensorLAN.frameReverseChannel_matrix_errortheorem Cloning.TensorLAN.sectorToFock_matrixtheorem Cloning.TensorLAN.fockToSector_matrix1import Cloning.TensorLANEmbeddingPhysical
2import Cloning.InfiniteTraceClassNormalPart
3
4/-! Exact action on every finite cutoff matrix, including coherences, and
5trace-norm comparison bounds for positive input states. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder
8namespace Cloning.InfiniteTraceClass
9set_option maxHeartbeats 800000
10set_option backward.isDefEq.respectTransparency false
11variable {H K : Type*}
12 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
13 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
14
15@[simp] theorem traceCLM_rankOneOperator (x y : H) :
16 traceCLM (rankOneOperator x y) = ⟪y, x⟫_ℂ := trace_rankOne_general x y
17
18theorem conjugationLinearMap_rankOneOperator (V : H →L[ℂ] K) (x y : H) :
19 conjugationLinearMap V (rankOneOperator x y) = rankOneOperator (V x) (V y) := by
20 apply Subtype.ext
21 ext z
22 change V (⟪y, V.adjoint z⟫_ℂ • x) = ⟪V y, z⟫_ℂ • V x
23 rw [map_smul, ContinuousLinearMap.adjoint_inner_right]
24
25/-- A concrete finite matrix realized in an arbitrary Hilbert-space frame. -/
26def frameMatrix {ι : Type*} [Fintype ι] (f : ι → H) (A : Matrix ι ι ℂ) : TraceClass H :=
27 ∑ i, ∑ j, A i j • rankOneOperator (f i) (f j)
28
29end Cloning.InfiniteTraceClass
30
31namespace Cloning.TensorLAN
32open Cloning.InfiniteTraceClass
33set_option maxHeartbeats 800000
34set_option backward.isDefEq.respectTransparency false
35variable {H K : Type*}
36 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
37 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
38variable {ι : Type*} [Fintype ι]
39variable (S : Submodule ℂ H) [S.HasOrthogonalProjection]
40
41/-- Exact preservation of arbitrary retained coherences. -/
42theorem frameForwardChannel_rankOne (b : OrthonormalBasis ι ℂ S)
43 (f : ι → K) (hf : Orthonormal ℂ f) (σ : DensityState K) (x y : S) :
44 (frameForwardChannel S b f hf σ).toLinearMap (rankOneOperator (x : H) (y : H)) =
45 rankOneOperator (basisFrameIsometry S b f hf x) (basisFrameIsometry S b f hf y) := by
46 rw [frameForwardChannel, QuantumChannel.ofContraction_apply, conjugationLinearMap_rankOneOperator,
47 traceCLM_rankOneOperator, traceCLM_rankOneOperator, frameTransport_on_subspace,
48 frameTransport_on_subspace, LinearIsometry.inner_map_map]
49 simp only [Submodule.coe_inner, sub_self, zero_smul, add_zero]
50
51theorem frameReverseChannel_rankOne (b : OrthonormalBasis ι ℂ S)
52 (f : ι → K) (hf : Orthonormal ℂ f) (ρ : DensityState H) (x y : S) :
53 (frameReverseChannel S b f hf ρ).toLinearMap
54 (rankOneOperator (basisFrameIsometry S b f hf x) (basisFrameIsometry S b f hf y)) =
55 rankOneOperator (x : H) (y : H) := by
56 rw [frameReverseChannel, QuantumChannel.ofContraction_apply, conjugationLinearMap_rankOneOperator,
57 frameTransport_adjoint_isometry, frameTransport_adjoint_isometry,
58 traceCLM_rankOneOperator, traceCLM_rankOneOperator, LinearIsometry.inner_map_map]
59 simp only [Submodule.coe_inner, sub_self, zero_smul, add_zero]
60
61/-- Every complex matrix in the retained cutoff is transported exactly. -/
62theorem frameForwardChannel_matrix (b : OrthonormalBasis ι ℂ S)
63 (f : ι → K) (hf : Orthonormal ℂ f) (σ : DensityState K) (A : Matrix ι ι ℂ) :
64 (frameForwardChannel S b f hf σ).toLinearMap (frameMatrix (fun i => (b i : H)) A) =
65 frameMatrix f A := by
66 simp only [frameMatrix, map_sum, map_smul, frameForwardChannel_rankOne, basisFrameIsometry_basis]
67
68theorem frameReverseChannel_matrix (b : OrthonormalBasis ι ℂ S)
69 (f : ι → K) (hf : Orthonormal ℂ f) (ρ : DensityState H) (A : Matrix ι ι ℂ) :
70 (frameReverseChannel S b f hf ρ).toLinearMap (frameMatrix f A) =
71 frameMatrix (fun i => (b i : H)) A := by
72 have he (i j : ι) : (frameReverseChannel S b f hf ρ).toLinearMap
73 (rankOneOperator (f i) (f j)) = rankOneOperator (b i : H) (b j : H) := by
74 simpa only [basisFrameIsometry_basis] using
75 frameReverseChannel_rankOne S b f hf ρ (b i) (b j)
76 simp only [frameMatrix, map_sum, map_smul, he]
77
78/-- Input approximation controls output approximation without any extra
79constant, because the maps are proved positive and trace preserving. -/
80theorem frameForwardChannel_matrix_error (b : OrthonormalBasis ι ℂ S)
81 (f : ι → K) (hf : Orthonormal ℂ f) (σ : DensityState K)
82 (A : TraceClass H) (hA : 0 ≤ A.1) (M : Matrix ι ι ℂ)
83 (hM : 0 ≤ (frameMatrix (fun i => (b i : H)) M).1) :
84 ‖(frameForwardChannel S b f hf σ).toLinearMap A - frameMatrix f M‖ ≤
85 ‖A - frameMatrix (fun i => (b i : H)) M‖ := by
86 rw [← frameForwardChannel_matrix S b f hf σ M]
87 exact (frameForwardChannel S b f hf σ).toPositiveTracePreservingMap.norm_map_sub_le _ _ hA hM
88
89theorem frameReverseChannel_matrix_error (b : OrthonormalBasis ι ℂ S)
90 (f : ι → K) (hf : Orthonormal ℂ f) (ρ : DensityState H)
91 (A : TraceClass K) (hA : 0 ≤ A.1) (M : Matrix ι ι ℂ)
92 (hM : 0 ≤ (frameMatrix f M).1) :
93 ‖(frameReverseChannel S b f hf ρ).toLinearMap A - frameMatrix (fun i => (b i : H)) M‖ ≤
94 ‖A - frameMatrix f M‖ := by
95 rw [← frameReverseChannel_matrix S b f hf ρ M]
96 exact (frameReverseChannel S b f hf ρ).toPositiveTracePreservingMap.norm_map_sub_le _ _ hA hM
97
98section Physical
99open Cloning.TensorLie Cloning.PCT
100variable {n d : ℕ}
101local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
102 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
103
104theorem sectorToFock_matrix (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ) (R : ℕ)
105 (hgap : ∀ a : PositiveRoot d, 0 < rootGap mu a)
106 (hli : LinearIndependent ℂ (cutoffRawFrame Ω mu R))
107 (M : Matrix (CutoffIndex d R) (CutoffIndex d R) ℂ) :
108 (sectorToFock Ω mu R hgap hli).toLinearMap (frameMatrix (cutoffSectorFrame Ω mu R) M) =
109 frameMatrix (cutoffNumberFrame d R) M := by
110 simpa only [sectorCutoffBasis_coe] using frameForwardChannel_matrix (sectorCutoff Ω R)
111 (sectorCutoffBasis Ω mu R hgap hli) (cutoffNumberFrame d R) (cutoffNumberFrame_orthonormal d R)
112 (DensityState.pure (rootVacuum d) (rootVacuum_norm d)) M
113
114theorem fockToSector_matrix (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ) (R : ℕ)
115 (hΩ : ‖Ω‖ = 1)
116 (hgap : ∀ a : PositiveRoot d, 0 < rootGap mu a)
117 (hli : LinearIndependent ℂ (cutoffRawFrame Ω mu R))
118 (M : Matrix (CutoffIndex d R) (CutoffIndex d R) ℂ) :
119 (fockToSector Ω mu R hΩ hgap hli).toLinearMap (frameMatrix (cutoffNumberFrame d R) M) =
120 frameMatrix (cutoffSectorFrame Ω mu R) M := by
121 simpa only [sectorCutoffBasis_coe] using frameReverseChannel_matrix (sectorCutoff Ω R)
122 (sectorCutoffBasis Ω mu R hgap hli) (cutoffNumberFrame d R) (cutoffNumberFrame_orthonormal d R)
123 (DensityState.pure ⟨Ω, highest_mem_cyclicSector Ω⟩ hΩ) M
124
125end Physical
126
127end Cloning.TensorLAN