Offline · exact source
Exact Lean source

PCTRankPurificationCovariance

formalization/Cloning/PCTRankPurificationCovariance.lean

Source hash: f8947cec8dec5c02e375ab8e3d1876bb31fabe646a293111850389372a1f3fe7

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.PCTRankPurificationInvariant
2 
3/-! Covariance of the single completed rectangular purifier on its actual
4Haar support. No covariance of the arbitrary fallback state is required. -/
5noncomputable section
6open scoped BigOperators Classical Matrix Kronecker MatrixOrder ComplexOrder Matrix.Norms.L2Operator
7namespace Cloning.PCTRankPurification
8open Matrix Cloning.PCTPurificationChannel Cloning.Compression Cloning.MatrixFidelity
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 1200000
11variable {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
12local instance covarianceMatrixCStar (I : Type*) [Fintype I] [DecidableEq I] :
13    CStarAlgebra (Matrix I I ℂ) where
14 
15/-- Exact conjugation covariance of the square-root sandwich from actual
16commutation with the input unitary and its adjoint. -/
17theorem purificationMap_conjugate_of_commute (R : Matrix (A×B) (A×B) ℂ)
18    (V X : Matrix A A ℂ)
19    (hV : Commute R (V ⊗ₖ (1 : Matrix B B ℂ)))
20    (hVs : Commute R (Vᴴ ⊗ₖ (1 : Matrix B B ℂ))) :
21    purificationMap R (V*X*Vᴴ)=
22      (V ⊗ₖ (1 : Matrix B B ℂ))*purificationMap R X*(V ⊗ₖ (1 : Matrix B B ℂ))ᴴ := by
23  have hs : Commute (CFC.sqrt R) (V ⊗ₖ (1 : Matrix B B ℂ)) := hV.cfcₙ_nnreal NNReal.sqrt
24  have hss : Commute (CFC.sqrt R) ((V ⊗ₖ (1 : Matrix B B ℂ))ᴴ) := by
25    simpa only [Matrix.conjTranspose_kronecker,Matrix.conjTranspose_one] using
26      hVs.cfcₙ_nnreal NNReal.sqrt
27  have ht : (V*X*Vᴴ) ⊗ₖ (1 : Matrix B B ℂ)=
28      (V ⊗ₖ (1 : Matrix B B ℂ))*(X ⊗ₖ (1 : Matrix B B ℂ))*(V ⊗ₖ (1 : Matrix B B ℂ))ᴴ := by
29    simp only [Matrix.conjTranspose_kronecker,Matrix.conjTranspose_one,
30      ← Matrix.mul_kronecker_mul,Matrix.one_mul]
31  unfold purificationMap
32  rw [ht]
33  calc
34    _ = (CFC.sqrt R*(V ⊗ₖ (1 : Matrix B B ℂ)))*(X ⊗ₖ (1 : Matrix B B ℂ))*
35        ((V ⊗ₖ (1 : Matrix B B ℂ))ᴴ*CFC.sqrt R) := by noncomm_ring
36    _ = ((V ⊗ₖ (1 : Matrix B B ℂ))*CFC.sqrt R)*(X ⊗ₖ (1 : Matrix B B ℂ))*
37        (CFC.sqrt R*(V ⊗ₖ (1 : Matrix B B ℂ))ᴴ) := by rw [hs.eq,← hss.eq]
38    _ = _ := by noncomm_ring
39 
40variable [Nonempty A]
41 
42/-- The derived support is preserved by every physical unitary tensor power. -/
43theorem rankPurificationSupport_conjugate (n : ℕ) (J : Matrix A B ℂ)
44    (U : unitary (Matrix A A ℂ)) (X : Matrix (Fin n → A) (Fin n → A) ℂ)
45    (hX : momentSupport (partialTrace (rectangularHaarMoment n J))
46      (partialTrace_rectangularHaarMoment_posSemidef n J)*X=X) :
47    momentSupport (partialTrace (rectangularHaarMoment n J))
48      (partialTrace_rectangularHaarMoment_posSemidef n J)*
49      (tensorPower n U.val*X*(tensorPower n U.val)ᴴ)=
50      tensorPower n U.val*X*(tensorPower n U.val)ᴴ := by
51  have hc := momentSupport_commutes (partialTrace (rectangularHaarMoment n J))
52    (partialTrace_rectangularHaarMoment_posSemidef n J) (tensorPower n U.val)
53    (partialTrace_rectangularHaarMoment_commute_unitary n J U).eq
54  rw [← Matrix.mul_assoc,← Matrix.mul_assoc,hc,Matrix.mul_assoc _ _ X,hX]
55 
56/-- The fixed all-input channel rotates exactly on every supported input.
57The same channel and same fallback word occur on both sides. -/
58theorem rankPurificationChannel_covariant_supported (n : ℕ) (J : Matrix A B ℂ)
59    (b0 : (Fin n → A)×(Fin n → B))
60    (U : unitary (Matrix A A ℂ)) (X : Matrix (Fin n → A) (Fin n → A) ℂ)
61    (hX : momentSupport (partialTrace (rectangularHaarMoment n J))
62      (partialTrace_rectangularHaarMoment_posSemidef n J)*X=X) :
63    (rankPurificationChannel n J b0).toFun (tensorPower n U.val*X*(tensorPower n U.val)ᴴ)=
64      rectangularLeftTensor (B := B) n U.val*(rankPurificationChannel n J b0).toFun X*
65        (rectangularLeftTensor (B := B) n U.val)ᴴ := by
66  let R := normalizedMoment (rectangularHaarMoment n J)
67    (partialTrace_rectangularHaarMoment_posSemidef n J)
68  have ha (Y : Matrix (Fin n → A) (Fin n → A) ℂ)
69      (hY : momentSupport (partialTrace (rectangularHaarMoment n J))
70        (partialTrace_rectangularHaarMoment_posSemidef n J)*Y=Y) :
71      (rankPurificationChannel n J b0).toFun Y=purificationMap R Y :=
72    supportedPurificationChannel_apply_supported _ _ _ _ _ _ b0 Y hY
73  rw [ha _ (rankPurificationSupport_conjugate n J U X hX),ha X hX]
74  apply purificationMap_conjugate_of_commute
75  · exact normalized_rectangularHaarMoment_commute_unitary n J U
76  · have hh := normalized_rectangularHaarMoment_commute_unitary n J (star U)
77    simpa only [rectangularLeftTensor,Unitary.coe_star,Matrix.star_eq_conjTranspose,tensorPower_star] using hh
78 
79end Cloning.PCTRankPurification