Offline · exact source
Exact Lean source

MultimodeIdlerCharacteristicCovariance

formalization/Cloning/MultimodeIdlerCharacteristicCovariance.lean

Source hash: 5a78262dbe9204147644615ede7435e5dfe8abe011af2720c3faacafb12f1a79

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.MultimodeIdlerCharacteristicIsometry
2import Cloning.WeylSqueezerPartialTrace
3import Cloning.PCTGaussianOutput
4import Cloning.WeylQuantumPositiveBlocks
5 
6/-! The concrete occupation channel inherits conjugated Weyl covariance
7from its proved two-output isometry. Both trace-class inputs and coherences
8are retained throughout. -/
9noncomputable section
10open scoped ComplexOrder InnerProductSpace Topology BigOperators
11namespace Cloning.MultimodeIdler
12open Cloning.InfiniteTraceClass Cloning.MultimodeCoherent
13open Cloning.WeylSqueezerProduct
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 800000
16variable {d : ℕ}
17 
18lemma idlerSlice_appendedIsometry (q : Fin d → ℝ)
19    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (m : Occupation d) (x : Fock d) :
20    idlerSlice m (appendedIsometry q hq0 hq1 x) = kraus q hq0 hq1 m x := by
21  ext k
22  rw [show appendedIsometry q hq0 hq1 x = jointReindex d d (isometry q hq0 hq1 x) from rfl,
23    idlerSlice_apply, jointReindex_apply]
24  simp only [occupationSplit, Equiv.coe_fn_mk, Fin.append_left, Fin.append_right,
25    kraus, ContinuousLinearMap.comp_apply, LinearIsometry.coe_toContinuousLinearMap, slice_apply]
26 
27/-- Characteristic evaluation of the actual Kraus channel equals evaluation
28of its actual Stinespring output on the second-register Weyl operator. -/
29theorem channel_characteristic_joint (q : Fin d → ℝ)
30    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
31    (T : TraceClass (Fock d)) (b : Fin d → ℂ) :
32    tracePairing ((channel q hq0 hq1).toLinearMap T) (displacement b) =
33      tracePairing (conjugationLinearMap (appendedIsometry q hq0 hq1).toContinuousLinearMap T)
34        (displacement (Fin.append 0 b)) := by
35  rw [tracePairing_conjugation]
36  suffices hpure : ∀ x : Fock d,
37      tracePairing ((channel q hq0 hq1).toLinearMap (vectorProjector x)) (displacement b) =
38        1 * ⟪x, (appendedIsometry q hq0 hq1).toContinuousLinearMap.adjoint
39          (displacement (Fin.append 0 b) (appendedIsometry q hq0 hq1 x))⟫_ℂ by
40    simpa only [one_mul] using Cloning.WeylSqueezer.channel_pairing_of_pure
41      (channel q hq0 hq1) (displacement b)
42      ((appendedIsometry q hq0 hq1).toContinuousLinearMap.adjoint.comp
43        ((displacement (Fin.append 0 b)).comp
44          (appendedIsometry q hq0 hq1).toContinuousLinearMap)) 1 hpure T
45  intro x
46  have hs := (channel_hasSum q hq0 hq1 (vectorProjector x)).mapL
47    (tracePairingCLM.flip (displacement b))
48  have ht := idlerSlice_inner_hasSum (appendedIsometry q hq0 hq1 x)
49    (displacement (Fin.append 0 b) (appendedIsometry q hq0 hq1 x))
50  simp only [idlerSlice_displacement, idlerSlice_appendedIsometry] at ht
51  have he (m : Occupation d) :
52      tracePairing (krausTerm (kraus q hq0 hq1 m) (vectorProjector x)) (displacement b) =
53        ⟪kraus q hq0 hq1 m x, displacement b (kraus q hq0 hq1 m x)⟫_ℂ := by
54    rw [krausTerm_vectorProjector]
55    exact tracePairing_rankOneOperator _ _ _
56  simp only [ContinuousLinearMap.flip_apply, tracePairingCLM_apply, he] at hs
57  simpa only [one_mul, ContinuousLinearMap.comp_apply,
58    ContinuousLinearMap.adjoint_inner_right, LinearIsometry.coe_toContinuousLinearMap]
59    using hs.unique ht
60 
61private theorem conjugation_comp
62    {H K L : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
63    [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
64    [NormedAddCommGroup L] [InnerProductSpace ℂ L] [CompleteSpace L]
65    (V : K →L[ℂ] L) (W : H →L[ℂ] K) (T : TraceClass H) :
66    conjugationLinearMap (V.comp W) T = conjugationLinearMap V (conjugationLinearMap W T) := by
67  apply Subtype.ext
68  apply ContinuousLinearMap.ext
69  intro x
70  simp only [conjugationLinearMap_coe, operatorConjugation_apply,
71    ContinuousLinearMap.adjoint_comp, ContinuousLinearMap.comp_apply]
72 
73private theorem displacementTraceMap_eq_conjugation {e : ℕ} (a : Fin e → ℂ)
74    (T : TraceClass (Cloning.MultimodeCoherent.Fock e)) :
75    displacementTraceMap a T = conjugationLinearMap (displacement a) T := by
76  apply Subtype.ext
77  apply ContinuousLinearMap.ext
78  intro x
79  change displacement a (T.1 (displacement (-a) x)) =
80    displacement a (T.1 ((displacement a).adjoint x))
81  rw [displacement_adjoint]
82 
83lemma appendedIsometry_conjugation (q : Fin d → ℝ)
84    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
85    (a : Fin d → ℂ) (T : TraceClass (Fock d)) :
86    conjugationLinearMap (appendedIsometry q hq0 hq1).toContinuousLinearMap
87      (displacementTraceMap a T) =
88      displacementTraceMap (Fin.append (amplifierScale q a) (complementaryScale q (star a)))
89        (conjugationLinearMap (appendedIsometry q hq0 hq1).toContinuousLinearMap T) := by
90  rw [displacementTraceMap_eq_conjugation, displacementTraceMap_eq_conjugation,
91    ← conjugation_comp, appendedIsometry_intertwines, conjugation_comp]
92 
93lemma weylCharacter_append_zero (x y b : Fin d → ℂ) :
94    weylCharacter (Fin.append x y) (-(Fin.append 0 b)) = weylCharacter y (-b) := by
95  have hn : -(Fin.append (0 : Fin d → ℂ) b) = Fin.append 0 (-b) := by
96    ext i
97    refine Fin.addCases ?_ ?_ i <;> intro j <;>
98      simp only [Pi.neg_apply, Fin.append_left, Fin.append_right, Pi.zero_apply, neg_zero]
99  rw [hn]
100  simp only [weylCharacter, displacementPhase_append, displacementPhase_zero_right,
101    displacementPhase_zero_left, one_mul]
102 
103/-- Exact conjugated displacement covariance of the negative-binomial channel. -/
104theorem channel_weyl_covariant (q : Fin d → ℝ)
105    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1)
106    (a : Fin d → ℂ) (T : TraceClass (Fock d)) :
107    (channel q hq0 hq1).toLinearMap (displacementTraceMap a T) =
108      displacementTraceMap (complementaryScale q (star a)) ((channel q hq0 hq1).toLinearMap T) := by
109  apply characteristic_injective
110  funext b
111  dsimp only
112  rw [channel_characteristic_joint, appendedIsometry_conjugation,
113    Cloning.PCTGaussianOutput.displacement_characteristic,
114    Cloning.PCTGaussianOutput.displacement_characteristic,
115    channel_characteristic_joint, weylCharacter_append_zero]
116 
117/-- The actual number Kraus columns on vacuum. -/
118lemma kraus_vacuum (q : Fin d → ℝ)
119    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) (m : Occupation d) :
120    kraus q hq0 hq1 m (numberBasis d 0) =
121      (Real.sqrt (Cloning.ThermalWitness.productGeometric q m):ℂ) • numberBasis d m := by
122  ext k
123  rw [kraus_numberBasis_apply]
124  simp only [zero_add, numberBasis_eq_single, lp.coeFn_smul, Pi.smul_apply,
125    lp.single_apply, Pi.single_apply, smul_eq_mul]
126  by_cases h : m=k
127  · subst k
128    simp [Cloning.MultimodeAmplifier.productLaw_zero]
129  · simp [h, Ne.symm h]
130 
131/-- Its vacuum output is literally the normalized product thermal state. -/
132theorem channel_vacuum (q : Fin d → ℝ)
133    (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
134    (channel q hq0 hq1).toLinearMap (coherentProjector (0 : Fin d → ℂ)) =
135      vectorMixture (Cloning.MultimodeCoherentGaussianMixture.numberBasis d)
136        (Cloning.ThermalWitness.productGeometric q) := by
137  have h := channel_hasSum q hq0 hq1 (vectorProjector (numberBasis d 0))
138  simp only [krausTerm_vectorProjector, kraus_vacuum] at h
139  have he (k : Occupation d) : vectorProjector
140      ((Real.sqrt (Cloning.ThermalWitness.productGeometric q k):ℂ) • numberBasis d k) =
141      (Cloning.ThermalWitness.productGeometric q k : ℂ) • vectorProjector (numberBasis d k) :=
142    Cloning.BosonicAmplifier.vectorProjector_sqrt_smul _
143      (Cloning.ThermalWitness.productGeometric_nonneg hq0 hq1 k) _
144  simp only [he] at h
145  change (channel q hq0 hq1).toLinearMap (vectorProjector (coherentVector 0)) = _
146  rw [Cloning.MultimodeAmplifier.coherentVector_zero_eq_numberBasis]
147  exact h.tsum_eq.symm
148 
149end Cloning.MultimodeIdler