Offline · exact source
Exact Lean source

TensorGibbsDisplacedTransfer

formalization/Cloning/TensorGibbsDisplacedTransfer.lean

Source hash: ec01f8c55893ba8252f10b836e692267e2e90e55edffa74caccf8970cba79ad9

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.TensorGibbsPureTransfer
2import Cloning.TensorGibbsStateTransfer
3 
4/-! Displaced mixed-state comparison follows from literal vector errors and
5finite positive spectral truncations. The physical and Fock displacements are
6actual linear isometries; channel action is derived on all inputs. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace ComplexOrder
9namespace Cloning.InfiniteTraceClass
10set_option maxHeartbeats 1200000
11set_option backward.isDefEq.respectTransparency false
12variable {H K : Type*}
13  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
14  [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
15variable {ι : Type*} [Fintype ι] [DecidableEq ι]
16 
17theorem QuantumChannel.ofIsometry_frameMatrix_diagonal (U : H →ₗᵢ[ℂ] K)
18    (x : ι → H) (a : ι → ℝ) :
19    (QuantumChannel.ofIsometry U).toLinearMap (frameMatrix x (Matrix.diagonal (fun i => (a i : ℂ)))) =
20      frameMatrix (fun i => U (x i)) (Matrix.diagonal (fun i => (a i : ℂ))) := by
21  simp only [frameMatrix_diagonal, map_sum, map_smul, QuantumChannel.ofIsometry_vectorProjector]
22 
23/-- Finite physical and Fock truncations give an explicit displaced-state
24error, with vector-to-state continuity and fallback trace both included. -/
25theorem displaced_mixture_channel_error (V : H →L[ℂ] K)
26    (hV : ∀ x, ‖V x‖ ≤ ‖x‖) (σ : DensityState K)
27    (U : H →ₗᵢ[ℂ] H) (W : K →ₗᵢ[ℂ] K)
28    (A : TraceClass H) (hA : 0 ≤ A.1) (B : TraceClass K) (hB : 0 ≤ B.1)
29    (x : ι → H) (y : ι → K) (hx : ∀ i, ‖x i‖ = 1) (hy : ∀ i, ‖y i‖ = 1)
30    (a b : ι → ℝ) (hb : ∀ i, 0 ≤ b i) :
31    ‖(QuantumChannel.ofContraction V hV σ).toLinearMap ((QuantumChannel.ofIsometry U).toLinearMap A) -
32      (QuantumChannel.ofIsometry W).toLinearMap B‖ ≤
33      ‖A - frameMatrix x (Matrix.diagonal (fun i => (a i : ℂ)))‖ +
34      (∑ i, |a i-b i|) + 4 * (∑ i, b i * ‖V (U (x i)) - W (y i)‖) +
35      ‖B - frameMatrix y (Matrix.diagonal (fun i => (b i : ℂ)))‖ := by
36  let F := QuantumChannel.ofContraction V hV σ
37  let S := QuantumChannel.ofIsometry U
38  let T := QuantumChannel.ofIsometry W
39  let X := frameMatrix x (Matrix.diagonal (fun i => (b i : ℂ)))
40  let Y := frameMatrix y (Matrix.diagonal (fun i => (b i : ℂ)))
41  have hX : 0 ≤ X.1 := frameMatrix_diagonal_nonneg x b hb
42  have hY : 0 ≤ Y.1 := frameMatrix_diagonal_nonneg y b hb
43  have hfirst : ‖F.toLinearMap (S.toLinearMap A) - F.toLinearMap (S.toLinearMap X)‖ ≤
44      ‖A - frameMatrix x (Matrix.diagonal (fun i => (a i : ℂ)))‖ + ∑ i, |a i-b i| := by
45    apply (F.toPositiveTracePreservingMap.norm_map_sub_le _ _ (S.map_nonneg A hA) (S.map_nonneg X hX)).trans
46    apply (S.toPositiveTracePreservingMap.norm_map_sub_le _ _ hA hX).trans
47    exact (norm_sub_le_norm_sub_add_norm_sub A
48      (frameMatrix x (Matrix.diagonal (fun i => (a i : ℂ)))) X).trans
49      (add_le_add (le_refl _) (frameMatrix_diagonal_sub_norm_le x hx a b))
50  have hmiddle : ‖F.toLinearMap (S.toLinearMap X) - T.toLinearMap Y‖ ≤
51      4 * ∑ i, b i * ‖V (U (x i)) - W (y i)‖ := by
52    dsimp only [F,S,T,X,Y]
53    rw [QuantumChannel.ofIsometry_frameMatrix_diagonal, QuantumChannel.ofIsometry_frameMatrix_diagonal]
54    exact QuantumChannel.ofContraction_mixture_error V hV σ _ _
55      (fun i => (U.norm_map _).trans (hx i)) (fun i => (W.norm_map _).trans (hy i)) b hb
56  have hlast : ‖T.toLinearMap Y - T.toLinearMap B‖ ≤ ‖B-Y‖ := by
57    rw [norm_sub_rev B]
58    exact T.toPositiveTracePreservingMap.norm_map_sub_le _ _ hY hB
59  have ht := norm_sub_le_norm_sub_add_norm_sub (F.toLinearMap (S.toLinearMap A))
60    (F.toLinearMap (S.toLinearMap X)) (T.toLinearMap B)
61  have ht' := norm_sub_le_norm_sub_add_norm_sub (F.toLinearMap (S.toLinearMap X))
62    (T.toLinearMap Y) (T.toLinearMap B)
63  change ‖F.toLinearMap (S.toLinearMap A) - T.toLinearMap B‖ ≤ _
64  linarith
65 
66end Cloning.InfiniteTraceClass