Offline · exact source
Exact Lean source

TensorCloningUniformCovariance

formalization/Cloning/TensorCloningUniformCovariance.lean

Source hash: 1f9942d374fe7369d1a38e5fa0f4b998f87fbbe73c44bd210cb75a76b2514cd2

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.TensorCloningGlobalCovariance
2import Cloning.TensorCloningSectorCovariance
3import Cloning.PCTUnitaryTransportChannels
4 
5/-! Exact independence of both prescribed physical channel payoffs from
6the unknown unitary eigenbasis, at every finite sample size. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace ComplexOrder Classical Matrix
9namespace Cloning.TensorCloning
10open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
11open Cloning.PCTPhysicalState Cloning.PCTUnitaryTransport Cloning.FiniteKrausLift Cloning.PCTPurificationChannel
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1800000
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17private theorem state_eq_of_matrix_eq {A : Type*} [Fintype A]
18    (ρ σ : Cloning.MatrixFidelity.State A) (h : ρ.matrix = σ.matrix) : ρ = σ := by
19  cases ρ
20  cases σ
21  cases h
22  rfl
23 
24theorem tensor_unitaryChannel_eq_conjugation {d : ℕ} [Nonempty (Fin d)]
25    (n : ℕ) (U : unitary (Matrix (Fin d) (Fin d) ℂ)) (A : TraceClass (TensorRegister n (Fin d))) :
26    (unitaryChannel (tensorUnitary U n)).toLinearMap A = conjugationLinearMap (tensorOperator n U) A := by
27  have he : matrixRegister (tensorPower n U.val) = tensorOperator n U.val := by
28    apply ContinuousLinearMap.ext
29    intro x
30    ext w
31    simp only [matrixRegister_apply, tensorOperator_apply, tensorPower]
32  rw [← Cloning.PCTGlobal.registerLiftCLM_matrixOf A, unitaryChannel_registerLift,
33    ← he, conjugation_matrixRegister]
34  rfl
35 
36theorem rootFidelity_unitaryChannel {A : Type*} [Fintype A] [DecidableEq A] [Nonempty A]
37    (U : unitary (Matrix A A ℂ)) (ρ σ : PositiveTraceClass (Register A)) :
38    (ρ.map (unitaryChannel U).toPositiveTracePreservingMap).rootFidelity
39      (σ.map (unitaryChannel U).toPositiveTracePreservingMap) = ρ.rootFidelity σ := by
40  have hρ : (ρ.map (unitaryChannel U).toPositiveTracePreservingMap).map
41      (unitaryChannel (star U)).toPositiveTracePreservingMap = ρ := Subtype.ext (unitaryChannel_star U ρ.1)
42  have hσ : (σ.map (unitaryChannel U).toPositiveTracePreservingMap).map
43      (unitaryChannel (star U)).toPositiveTracePreservingMap = σ := Subtype.ext (unitaryChannel_star U σ.1)
44  apply le_antisymm
45  · have h := InfiniteFidelity.fidelity_data_processing (unitaryChannel (star U))
46      (ρ.map (unitaryChannel U).toPositiveTracePreservingMap).1
47      (σ.map (unitaryChannel U).toPositiveTracePreservingMap).1
48      (ρ.map (unitaryChannel U).toPositiveTracePreservingMap).2
49      (σ.map (unitaryChannel U).toPositiveTracePreservingMap).2
50    change _ ≤ ((ρ.map _).map _).rootFidelity ((σ.map _).map _) at h
51    simpa only [hρ,hσ] using h
52  · exact InfiniteFidelity.fidelity_data_processing (unitaryChannel U) ρ.1 σ.1 ρ.2 σ.2
53 
54theorem spectrumPayoff_unitary_of_covariant {d : ℕ} (n m : ℕ)
55    (Φ : QuantumChannel (TensorRegister n (Fin (d+1))) (TensorRegister m (Fin (d+1))))
56    (p : SimpleSpectrum (d+1)) (U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ))
57    (hcov : ∀ A, Φ.toLinearMap (conjugationLinearMap (tensorOperator n U) A) =
58      conjugationLinearMap (tensorOperator m U) (Φ.toLinearMap A)) :
59    spectrumPayoff n m Φ p U = spectrumPayoff n m Φ p 1 := by
60  let ρ := diagonalState p.eigenvalue (fun a => (p.positive a).le) p.normalized
61  let A := (tensorState ρ n).map Φ.toPositiveTracePreservingMap
62  let B := tensorState ρ m
63  have hA : (tensorState (orbitState p U) n).map Φ.toPositiveTracePreservingMap =
64      A.map (unitaryChannel (tensorUnitary U m)).toPositiveTracePreservingMap := by
65    apply Subtype.ext
66    change Φ.toLinearMap (tensorState (conjugatedState ρ U) n).1 = _
67    rw [← tensorState_conjugated, tensor_unitaryChannel_eq_conjugation,
68      hcov, ← tensor_unitaryChannel_eq_conjugation]
69    rfl
70  have hB : tensorState (orbitState p U) m = B.map (unitaryChannel (tensorUnitary U m)).toPositiveTracePreservingMap :=
71    Subtype.ext (tensorState_conjugated ρ U m).symm
72  have hρ : orbitState p (1 : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ)) = ρ := by
73    have he : (orbitState p (1 : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ))).matrix = ρ.matrix := by
74      simp [orbitState, conjugatedState, ρ, diagonalState]
75    exact state_eq_of_matrix_eq _ _ he
76  change ((tensorState (orbitState p U) n).map Φ.toPositiveTracePreservingMap).rootFidelity
77    (tensorState (orbitState p U) m) = _
78  rw [hA,hB,rootFidelity_unitaryChannel]
79  change _ = ((tensorState (orbitState p 1) n).map Φ.toPositiveTracePreservingMap).rootFidelity
80    (tensorState (orbitState p 1) m)
81  rw [hρ]
82 
83theorem knownSpectrumChannel_payoff_unitary {d : ℕ} (n m : ℕ) (p : SimpleSpectrum (d+1))
84    (U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ)) :
85    spectrumPayoff n m (knownSpectrumChannel n m (d+1) p.eigenvalue
86      (fun a => (p.positive a).le) p.normalized) p U =
87    spectrumPayoff n m (knownSpectrumChannel n m (d+1) p.eigenvalue
88      (fun a => (p.positive a).le) p.normalized) p 1 :=
89  spectrumPayoff_unitary_of_covariant n m _ p U
90    (knownSpectrumChannel_covariant n m (d+1) p.eigenvalue (fun a => (p.positive a).le) p.normalized U
91      (Unitary.star_mul_self_of_mem U.property))
92 
93theorem universalChannel_payoff_unitary {d : ℕ} (n m : ℕ) (p : SimpleSpectrum (d+1))
94    (U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ)) :
95    spectrumPayoff n m (universalChannel n m d) p U = spectrumPayoff n m (universalChannel n m d) p 1 :=
96  spectrumPayoff_unitary_of_covariant n m _ p U
97    (universalChannel_covariant n m d U (Unitary.star_mul_self_of_mem U.property))
98 
99end Cloning.TensorCloning