Offline · exact source
Exact Lean source

TensorCloningTransitionCovariance

formalization/Cloning/TensorCloningTransitionCovariance.lean

Source hash: 92fcab1ef528097a8dbfa9fe871ffb8286b208cabe883aca8884cc92c7fb0c03

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.TensorCartanChannelCovariance
2import Cloning.TensorCloningAchievabilityMixture
3 
4/-! Dependent-target transport and covariance of the concrete partition
5transition channel on every compatible pair. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Matrix Classical
8namespace Cloning.TensorCloning
9open Cloning.PCT Cloning.TensorLie Cloning.InfiniteTraceClass Cloning.Hybrid
10set_option maxHeartbeats 1600000
11set_option backward.isDefEq.respectTransparency false
12variable {d : ℕ}
13 
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17private theorem dependent_map_cast {α : Type} (β : α → Type) (f : (a : α) → β a)
18    {a b : α} (h : a = b) : Eq.mp (congrArg β h) (f a) = f b := by
19  cases h
20  rfl
21 
22theorem partitionTransitionChannel_add (mu tau : Fin d → ℕ)
23    (hmu : Antitone mu) (htau : Antitone tau) :
24    partitionTransitionChannel mu (fun i ↦ mu i + tau i) hmu (sumPartition_antitone mu tau hmu htau) =
25      physicalCartanChannel mu tau hmu htau := by
26  have hc : PartitionCompatible mu (fun i ↦ mu i + tau i) :=
27    ⟨fun i ↦ Nat.le_add_right _ _, by simpa only [Nat.add_sub_cancel_left] using htau⟩
28  unfold partitionTransitionChannel
29  rw [dif_pos hc]
30  have hd : (fun i ↦ mu i + tau i - mu i) = tau := funext (fun i ↦ Nat.add_sub_cancel_left _ _)
31  let F (v : {v : Fin d → ℕ // Antitone v}) : Type :=
32    QuantumChannel (cyclicSector (partitionHighestTensor mu hmu))
33      (cyclicSector (partitionHighestTensor (fun i ↦ mu i + v.val i)
34        (sumPartition_antitone mu v.val hmu v.property)))
35  let f (v : {v : Fin d → ℕ // Antitone v}) : F v :=
36    physicalCartanChannel mu v.val hmu v.property
37  have hh : (⟨fun i ↦ mu i + tau i - mu i, hc.2⟩ : {v : Fin d → ℕ // Antitone v}) =
38      ⟨tau, htau⟩ := Subtype.ext hd
39  exact dependent_map_cast F f hh
40 
41theorem partitionTransitionChannel_covariant (mu nu : Fin d → ℕ)
42    (hmu : Antitone mu) (hnu : Antitone nu) (hc : PartitionCompatible mu nu)
43    (U : Matrix (Fin d) (Fin d) ℂ) (hU : Uᴴ * U = 1)
44    (A : TraceClass (cyclicSector (partitionHighestTensor mu hmu))) :
45    (partitionTransitionChannel mu nu hmu hnu).toLinearMap
46      (conjugationLinearMap (partitionTensorAction mu hmu U) A) =
47      conjugationLinearMap (partitionTensorAction nu hnu U)
48        ((partitionTransitionChannel mu nu hmu hnu).toLinearMap A) := by
49  have he : (fun i ↦ mu i + (nu i - mu i)) = nu := funext (fun i ↦ Nat.add_sub_of_le (hc.1 i))
50  have hh := physicalCartanChannel_covariant mu (fun i ↦ nu i - mu i) hmu hc.2 U hU A
51  rw [← partitionTransitionChannel_add] at hh
52  let P (v : {v : Fin d → ℕ // Antitone v}) : Prop :=
53    (partitionTransitionChannel mu v.val hmu v.property).toLinearMap
54      (conjugationLinearMap (partitionTensorAction mu hmu U) A) =
55      conjugationLinearMap (partitionTensorAction v.val v.property U)
56        ((partitionTransitionChannel mu v.val hmu v.property).toLinearMap A)
57  have hab : (⟨fun i ↦ mu i + (nu i - mu i), sumPartition_antitone mu _ hmu hc.2⟩ :
58    {v : Fin d → ℕ // Antitone v}) = ⟨nu, hnu⟩ := Subtype.ext he
59  exact Eq.mp (congrArg P hab) hh
60 
61section Isometry
62variable {H K : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
63    [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
64 
65theorem rootFidelity_map_isometryEquiv (e : H ≃ₗᵢ[ℂ] K) (A B : PositiveTraceClass H) :
66    (A.map (QuantumChannel.ofIsometry e.toLinearIsometry).toPositiveTracePreservingMap).rootFidelity
67      (B.map (QuantumChannel.ofIsometry e.toLinearIsometry).toPositiveTracePreservingMap) =
68      A.rootFidelity B := by
69  let C := QuantumChannel.ofIsometry e.toLinearIsometry
70  let D := QuantumChannel.ofIsometry e.symm.toLinearIsometry
71  have hback (X : PositiveTraceClass H) :
72      (X.map C.toPositiveTracePreservingMap).map D.toPositiveTracePreservingMap = X :=
73    Subtype.ext (isometryEquiv_channel_roundtrip e.symm X.1)
74  apply le_antisymm
75  · have h := Cloning.InfiniteFidelity.fidelity_data_processing D
76      (A.map C.toPositiveTracePreservingMap).1 (B.map C.toPositiveTracePreservingMap).1
77      (A.map C.toPositiveTracePreservingMap).2 (B.map C.toPositiveTracePreservingMap).2
78    change (A.map C.toPositiveTracePreservingMap).rootFidelity (B.map C.toPositiveTracePreservingMap) ≤
79      ((A.map C.toPositiveTracePreservingMap).map D.toPositiveTracePreservingMap).rootFidelity
80        ((B.map C.toPositiveTracePreservingMap).map D.toPositiveTracePreservingMap) at h
81    simpa only [hback] using h
82  · exact Cloning.InfiniteFidelity.fidelity_data_processing C A.1 B.1 A.2 B.2
83 
84end Isometry
85end Cloning.TensorCloning