Offline · exact source
Exact Lean source

InfiniteFidelityBlockFactorization

formalization/Cloning/InfiniteFidelityBlockFactorization.lean

Source hash: 5f7575dc4e981cac115fc58cc51d975e6ca2997367ad94006002dbdc1fae0eb1

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.InfiniteFidelityHilbertSum
2import Cloning.BlockFidelity
3 
4/-! Exact physical block factorization with a quantitative cost for deleting
5positive mass. The states live in the actual Hilbert summands. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder Classical
8namespace Cloning.InfiniteFidelityHilbertSum
9open Cloning.InfiniteTraceClass Cloning.Hybrid
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1200000
12 
13variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
14 
15theorem positive_norm_eq_trace (A : PositiveTraceClass H) :
16    ‖A.1‖ = (traceCLM A.1).re := TraceClass.norm_eq_trace_re_of_nonneg A.1 A.2
17 
18theorem norm_positive_sub (A B : PositiveTraceClass H) (h : B.1.1 ≤ A.1.1) :
19    ‖A.1-B.1‖ = ‖A.1‖-‖B.1‖ := by
20  have hp : 0 ≤ (A.1-B.1).1 := by
21    change 0 ≤ A.1.1-B.1.1
22    exact sub_nonneg.mpr h
23  rw [TraceClass.norm_eq_trace_re_of_nonneg _ hp, positive_norm_eq_trace A, positive_norm_eq_trace B]
24  change (traceCLM (A.1-B.1)).re = _
25  rw [map_sub, Complex.sub_re]
26 
27variable {I : Type*} [Fintype I] [DecidableEq I]
28variable {E : I → Type*}
29  [∀ i, NormedAddCommGroup (E i)] [∀ i, InnerProductSpace ℂ (E i)] [∀ i, CompleteSpace (E i)]
30 
31theorem norm_orthogonalSum (V : ∀ i, E i →ₗᵢ[ℂ] H)
32    (A : ∀ i, PositiveTraceClass (E i)) : ‖(orthogonalSum V A).1‖ = ∑ i, ‖(A i).1‖ := by
33  rw [positive_norm_eq_trace, orthogonalSum_val, map_sum, Complex.re_sum]
34  apply Finset.sum_congr rfl
35  intro i hi
36  have ht := (QuantumChannel.ofIsometry (V i)).trace_preserving (A i).1
37  change traceCLM (conjugationLinearMap (V i).toContinuousLinearMap (A i).1) = _ at ht
38  rw [ht]
39  exact (positive_norm_eq_trace (A i)).symm
40 
41theorem orthogonalSum_mono (V : ∀ i, E i →ₗᵢ[ℂ] H)
42    (A B : ∀ i, PositiveTraceClass (E i)) (h : ∀ i, (A i).1.1 ≤ (B i).1.1) :
43    (orthogonalSum V A).1.1 ≤ (orthogonalSum V B).1.1 := by
44  have he : (orthogonalSum V B).1 - (orthogonalSum V A).1 =
45      ∑ i, (QuantumChannel.ofIsometry (V i)).toLinearMap ((B i).1-(A i).1) := by
46    simp only [orthogonalSum_val, map_sub, Finset.sum_sub_distrib]
47    rfl
48  apply sub_nonneg.mp
49  change 0 ≤ inclusionCLM ((orthogonalSum V B).1-(orthogonalSum V A).1)
50  rw [he, map_sum]
51  apply Finset.sum_nonneg
52  intro i hi
53  exact (QuantumChannel.ofIsometry (V i)).map_nonneg _ (sub_nonneg.mpr (h i))
54 
55variable {J : I → Type*} [∀ i, Fintype (J i)] [∀ i, DecidableEq (J i)]
56 
57/-- The actual orthogonal output fidelity is within η+2√δ of the classical
58affinity times the common retained-sector fidelity. Components with zero
59retained mass require no normalized-fidelity estimate. -/
60theorem orthogonalSum_factorization_bound
61    (V : ∀ i, E i →ₗᵢ[ℂ] H) (hV : OrthogonalFamily ℂ E V)
62    (b : ∀ i, OrthonormalBasis (J i) ℂ (E i))
63    (X C B : ∀ i, PositiveTraceClass (E i)) (p r : I → ℝ)
64    (hp : ∀ i, 0 ≤ p i) (hr : ∀ i, 0 ≤ r i)
65    (hps : ∑ i, p i = 1) (hXs : ∑ i, ‖(X i).1‖ ≤ 1)
66    (hC : ∀ i, ‖(C i).1‖ = 1) (hB : ∀ i, ‖(B i).1‖ = 1)
67    (hle : ∀ i, (PositiveTraceClass.scale ⟨r i, hr i⟩ (C i)).1.1 ≤ (X i).1.1)
68    (c η : ℝ) (hc0 : 0 ≤ c) (hc1 : c ≤ 1) (hη : 0 ≤ η)
69    (hsector : ∀ i, 0 < r i → |(C i).rootFidelity (B i)-c| ≤ η) :
70    |(orthogonalSum V X).rootFidelity
71        (orthogonalSum V (fun i ↦ PositiveTraceClass.scale ⟨p i,hp i⟩ (B i))) -
72      c * Cloning.BlockFidelity.classicalAffinity (fun i ↦ ‖(X i).1‖) p| ≤
73      η + 2 * Real.sqrt (∑ i, (‖(X i).1‖-r i)) := by
74  let G i := PositiveTraceClass.scale ⟨r i,hr i⟩ (C i)
75  let T i := PositiveTraceClass.scale ⟨p i,hp i⟩ (B i)
76  have hG i : ‖(G i).1‖ = r i := by
77    simp only [G, PositiveTraceClass.norm_scale, hC, mul_one]
78    rfl
79  have hT i : ‖(T i).1‖ = p i := by
80    simp only [T, PositiveTraceClass.norm_scale, hB, mul_one]
81    rfl
82  have hmass : ‖(orthogonalSum V T).1‖ = 1 := by
83    rw [norm_orthogonalSum]
84    simpa only [hT] using hps
85  have hri i : r i ≤ ‖(X i).1‖ := by
86    have hn := norm_nonneg ((X i).1-(G i).1)
87    rw [norm_positive_sub (X i) (G i) (hle i), hG] at hn
88    linarith
89  apply Cloning.BlockFidelity.lifted_factorization_bound p (fun i ↦ ‖(X i).1‖) r
90    (fun i ↦ (C i).rootFidelity (B i)) _ c η hp hr hri hps hXs hc0 hc1 hη hsector
91  have hf := PositiveTraceClass.rootFidelity_continuity
92    (orthogonalSum V X) (orthogonalSum V T) (orthogonalSum V G) (orthogonalSum V T)
93  rw [sub_self, norm_zero, Real.sqrt_zero, zero_mul, add_zero, hmass, Real.sqrt_one, mul_one,
94    norm_positive_sub _ _ (orthogonalSum_mono V G X hle), norm_orthogonalSum,
95    norm_orthogonalSum, ← Finset.sum_sub_distrib] at hf
96  simp only [hG] at hf
97  have he := rootFidelity_orthogonalSum V hV b G T
98  simp only [G, T, PositiveTraceClass.rootFidelity_scale] at he
99  rw [he] at hf
100  exact hf
101 
102end Cloning.InfiniteFidelityHilbertSum