Offline · exact source
Exact Lean source

PCTGlobalPhysical

formalization/Cloning/PCTGlobalPhysical.lean

Source hash: fb0231237298a06a32147e115e6e8f29f0ad572e8a0f4698db82b86654f553c6

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.PCTGlobalWerner
2 
3/-! The state-independent full-environment physical PCT cloning channel. -/
4noncomputable section
5open scoped BigOperators Matrix InnerProductSpace ComplexOrder Topology
6open Cloning.InfiniteTraceClass Cloning.PCT Cloning.PCTPurificationChannel
7open Cloning.GeneralSymmetricOccupation Cloning.InfiniteFiniteCorner
8open MeasureTheory Filter
9namespace Cloning.PCTGlobal
10set_option maxHeartbeats 900000
11set_option backward.isDefEq.respectTransparency false
12set_option linter.unusedSectionVars false
13variable {A : Type*} [Fintype A] [DecidableEq A] [Nonempty A]
14 
15/-- A frame determined solely by the physical alphabet and its dimension. -/
16def fixedFrame {s : ℕ} (hcard : Fintype.card (A × A) = s + 1) :
17    OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A)) :=
18  coordinateFrame (Fintype.equivFinOfCardEq hcard).symm
19 
20/-- Full PCT cloning on all trace-class inputs. The frame and every channel
21stage are fixed before the unknown state is supplied. -/
22def channel {s : ℕ} (hcard : Fintype.card (A × A) = s + 1) (n r : ℕ) :
23    QuantumChannel (Register (Fin n → A)) (Register (Fin (n + r) → A)) :=
24  channelInFrame (fixedFrame hcard) n r
25 
26/-- The matrix recovered from a Haar output is an actual occupation matrix. -/
27def recoveredMatrix {s : ℕ}
28    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (n : ℕ)
29    (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
30    Matrix (Occupation n (s + 1)) (Occupation n (s + 1)) ℂ :=
31  matrixOf (registerBasis _) ((sectorRecovery u n).toLinearMap
32    (registerLiftCLM ((haarPurificationChannel n).toFun X))).1
33 
34theorem recoveredMatrix_lift {s : ℕ}
35    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (n : ℕ)
36    (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
37    registerLiftCLM (recoveredMatrix u n X) =
38      (sectorRecovery u n).toLinearMap (registerLiftCLM ((haarPurificationChannel n).toFun X)) :=
39  registerLiftCLM_matrixOf _
40 
41theorem recoveredMatrix_embedding {s : ℕ}
42    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (n : ℕ)
43    (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
44    matrixOf (registerBasis _)
45      (operatorConjugation (groupedEmbedding u n).toContinuousLinearMap
46        (registerLiftCLM (recoveredMatrix u n X)).1) =
47      (haarPurificationChannel n).toFun X := by
48  have he := sectorRecovery_purification_embedding u n X
49  rw [← recoveredMatrix_lift u n X] at he
50  have hm := congrArg (fun T : TraceClass (Register ((Fin n → A) × (Fin n → A))) =>
51    matrixOf (registerBasis _) T.1) he
52  exact hm.trans (matrixOf_ofMatrix (registerBasis _).orthonormal _)
53 
54 
55/-- Exact channel-stage formula on arbitrary finite matrix inputs. -/
56theorem channelInFrame_matrix_apply {s : ℕ}
57    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A))) (n r : ℕ)
58    (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
59    (channelInFrame u n r).toLinearMap (registerLiftCLM X) =
60      partialTraceChannel.toLinearMap
61        ((QuantumChannel.ofIsometry (regroup (n + r))).toLinearMap
62          (conjugationLinearMap (physicalEmbedding u (n + r)).toContinuousLinearMap
63            ((sectorChannel n r s).toLinearMap (registerLiftCLM (recoveredMatrix u n X))))) := by
64  change partialTraceChannel.toLinearMap
65    ((QuantumChannel.ofIsometry (regroup (n + r))).toLinearMap
66      (conjugationLinearMap (physicalEmbedding u (n + r)).toContinuousLinearMap
67        ((sectorChannel n r s).toLinearMap ((sectorRecovery u n).toLinearMap
68          ((purificationChannel n).toLinearMap (registerLiftCLM X)))))) = _
69  rw [purificationChannel_apply, recoveredMatrix_lift]
70 
71/-- Exact agreement of the global CPTP construction with the physical
72Werner sandwich and partial trace for every complex input matrix. -/
73theorem channelInFrame_physical {s : ℕ} (e : Fin (s + 1) ≃ A × A) (n r : ℕ)
74    (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
75    (channelInFrame (coordinateFrame e) n r).toLinearMap (registerLiftCLM X) =
76      physicalCloneTraceCLM n r s ((haarPurificationChannel n).toFun X) := by
77  rw [channelInFrame_matrix_apply, sectorChannel_physical_sandwich,
78    recoveredMatrix_embedding]
79  rfl
80 
81/-- The fixed physical protocol equals the literal formula on arbitrary
82inputs, not merely the tensor-power statistical model. -/
83theorem channel_matrix_apply {s : ℕ} (hcard : Fintype.card (A × A) = s + 1) (n r : ℕ)
84    (X : Matrix (Fin n → A) (Fin n → A) ℂ) :
85    (channel hcard n r).toLinearMap (registerLiftCLM X) =
86      physicalCloneTraceCLM n r s ((haarPurificationChannel n).toFun X) :=
87  channelInFrame_physical (Fintype.equivFinOfCardEq hcard).symm n r X
88 
89/-- Coordinate-free coverage of all trace-class inputs on the finite system. -/
90theorem channel_apply {s : ℕ} (hcard : Fintype.card (A × A) = s + 1) (n r : ℕ)
91    (T : TraceClass (Register (Fin n → A))) :
92    (channel hcard n r).toLinearMap T =
93      physicalCloneTraceCLM n r s
94        ((haarPurificationChannel n).toFun (matrixOf (registerBasis _) T.1)) := by
95  have h := channel_matrix_apply hcard n r (matrixOf (registerBasis _) T.1)
96  rwa [registerLiftCLM_matrixOf] at h
97 
98/-- Exact density-input action of the fully constructed, state-independent
99CPTP purification-clone-trace channel. -/
100theorem channel_tensorPower {s : ℕ} (hcard : Fintype.card (A × A) = s + 1)
101    (n r : ℕ) (ρ : Cloning.MatrixFidelity.State A) :
102    (channel hcard n r).toLinearMap (registerLiftCLM (tensorPower n ρ.matrix)) =
103      reducedWernerOutput hcard (canonicalPurification ρ.matrix)
104        (canonicalPurification_norm ρ) (inputSlots n (n + r) (Nat.le_add_right n r)) := by
105  rw [channel_matrix_apply, physical_pct_eq_reducedWerner]
106 
107/-- The physical full-environment PCT channel, fixed independently of the
108unknown density state, has the actual Gaussian product-mixture limit. -/
109theorem channel_gaussian_product_mixture {s : ℕ} (hs : 1 ≤ s)
110    (hcard : Fintype.card (A × A) = s + 1) (ρ : Cloning.MatrixFidelity.State A)
111    (r : ℕ → ℕ) {γ : ℝ} (hγ : 1 < γ)
112    (h : Tendsto (fun n ↦ ((n + r n : ℕ) : ℝ) / n) atTop (𝓝 γ)) :
113    ∃ u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A)),
114      u 0 = canonicalPurification ρ.matrix ∧
115      Tendsto (fun n => ‖(channel hcard n (r n)).toLinearMap
116        (registerLiftCLM (tensorPower n ρ.matrix)) -
117        ∫ z, matrixTensorPower
118          (reducedDensityMatrix (frameParticle u z (n + r n))) (n + r n)
119          ∂MultimodeCoherentGaussianMixture.gaussianProductMeasure
120            (fun _ : Fin s => γ - 1)‖) atTop (𝓝 0) := by
121  simpa only [channel_matrix_apply] using
122    physical_pct_gaussian_product_mixture hs hcard ρ r hγ h
123 
124end Cloning.PCTGlobal