Exact Lean source
TensorGibbsPureTransfer
formalization/Cloning/TensorGibbsPureTransfer.lean
Source hash: a19eae881c89a10df79eb13a24df5c59158aac5899f667ce22d4ddf07d74f274
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.TensorGibbsTruncation
2
3/-! Vector approximation for a literal contraction yields trace-norm
4approximation for its actual trace-repaired CPTP channel. Finite positive
5mixtures retain a concrete weighted error bound. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder
8namespace Cloning.InfiniteTraceClass
9set_option maxHeartbeats 1000000
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
15theorem QuantumChannel.ofContraction_pure_error (V : H →L[ℂ] K)
16 (hV : ∀ x, ‖V x‖ ≤ ‖x‖) (σ : DensityState K)
17 (x : H) (y : K) (hx : ‖x‖ = 1) (hy : ‖y‖ = 1) :
18 ‖(QuantumChannel.ofContraction V hV σ).toLinearMap (vectorProjector x) - vectorProjector y‖ ≤
19 4 * ‖V x - y‖ := by
20 have hpos : 0 ≤ (vectorProjector x).1 :=
21 (ContinuousLinearMap.nonneg_iff_isPositive _).mpr (InnerProductSpace.isPositive_rankOne_self x)
22 have hr := QuantumChannel.ofContraction_repair_error V hV σ (vectorProjector x) hpos
23 rw [conjugationLinearMap_vectorProjector, traceCLM_vectorProjector, traceCLM_vectorProjector,
24 Complex.ofReal_re, Complex.ofReal_re, hx, one_pow] at hr
25 have hn : ‖V x‖ ≤ 1 := (hV x).trans_eq hx
26 have hd : 1 - ‖V x‖ ≤ ‖V x-y‖ := by
27 simpa only [hy, norm_sub_rev y] using norm_sub_norm_le y (V x)
28 have he : 1 - ‖V x‖^2 ≤ 2 * ‖V x-y‖ := by nlinarith [sq_nonneg (1-‖V x‖)]
29 have hp := norm_vectorProjector_sub_le (V x) y
30 rw [hy] at hp
31 have hp' : ‖vectorProjector (V x)-vectorProjector y‖ ≤ 2*‖V x-y‖ :=
32 hp.trans (mul_le_mul_of_nonneg_right (by linarith) (norm_nonneg _))
33 have ht := norm_sub_le_norm_sub_add_norm_sub
34 ((QuantumChannel.ofContraction V hV σ).toLinearMap (vectorProjector x))
35 (vectorProjector (V x)) (vectorProjector y)
36 rw [hr] at ht
37 linarith
38
39variable {ι : Type*} [Fintype ι] [DecidableEq ι]
40
41/-- Actual finite mixtures follow from actual vector errors, including the
42fallback trace of vectors which leave the compression subspace. -/
43theorem QuantumChannel.ofContraction_mixture_error (V : H →L[ℂ] K)
44 (hV : ∀ x, ‖V x‖ ≤ ‖x‖) (σ : DensityState K)
45 (x : ι → H) (y : ι → K) (hx : ∀ i, ‖x i‖ = 1) (hy : ∀ i, ‖y i‖ = 1)
46 (a : ι → ℝ) (ha : ∀ i, 0 ≤ a i) :
47 ‖(QuantumChannel.ofContraction V hV σ).toLinearMap
48 (frameMatrix x (Matrix.diagonal (fun i => (a i : ℂ)))) -
49 frameMatrix y (Matrix.diagonal (fun i => (a i : ℂ)))‖ ≤
50 4 * ∑ i, a i * ‖V (x i) - y i‖ := by
51 rw [frameMatrix_diagonal, frameMatrix_diagonal]
52 simp only [map_sum, map_smul]
53 rw [← Finset.sum_sub_distrib]
54 calc
55 _ ≤ ∑ i, ‖(a i : ℂ) • (QuantumChannel.ofContraction V hV σ).toLinearMap (vectorProjector (x i)) -
56 (a i : ℂ) • vectorProjector (y i)‖ := norm_sum_le _ _
57 _ ≤ ∑ i, a i * (4 * ‖V (x i) - y i‖) := by
58 apply Finset.sum_le_sum
59 intro i _
60 rw [← smul_sub, norm_smul, Complex.norm_of_nonneg (ha i)]
61 exact mul_le_mul_of_nonneg_left (QuantumChannel.ofContraction_pure_error V hV σ _ _ (hx i) (hy i)) (ha i)
62 _ = _ := by rw [Finset.mul_sum]; apply Finset.sum_congr rfl; intro i _; ring
63
64end Cloning.InfiniteTraceClass