Offline · exact source
Exact Lean source

CovariantAmplifierLeastNoiseIdler

formalization/Cloning/CovariantAmplifierLeastNoiseIdler.lean

Source hash: cfc1ea4115d2673a3e106cece7891aedcf3749f1d3cc87b4bf6c895985277395

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.CovariantAmplifierCompositeReflected
2import Cloning.CovariantAmplifierLeastNoiseParameters
3 
4/-! The competing thermal output has the exact characteristic function of a
5seeded negative-binomial channel, with an actual normalized joint idler. -/
6noncomputable section
7open scoped ComplexOrder InnerProductSpace Topology BigOperators
8namespace Cloning.CovariantAmplifier
9open InfiniteTraceClass MultimodeCoherent MultimodeCoherentGaussianMixture ThermalWitness
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 800000
12variable {d : ℕ}
13 
14theorem productThermal_trace_one (q : Fin d → ℝ)
15    (hq0 : ∀ i,0≤q i) (hq1 : ∀ i,q i<1) :
16    traceCLM (vectorMixture (numberBasis d) (productGeometric q))=1 := by
17  rw [traceCLM_vectorMixture _ (numberBasis d).orthonormal.norm_eq_one _
18    (productGeometric_hasSum hq0 hq1).summable, (productGeometric_hasSum hq0 hq1).tsum_eq]
19  rfl
20 
21/-- An arbitrary competing covariant channel determines a genuine joint
22idler for the exact amplified thermal parameters. No number-diagonal or
23product assumption is made on that idler. -/
24theorem thermalOutput_exists_seeded_characteristic
25    (Λ : QuantumChannel (Fock d) (Fock d)) (γ : ℝ) (hγ : 1<γ)
26    (hΛ : ∀ a A, Λ.toLinearMap (displacementTraceMap a A)=
27      displacementTraceMap (Real.sqrt γ • a) (Λ.toLinearMap A))
28    (q : Fin d → ℝ) (hq0 : ∀ i,0≤q i) (hq1 : ∀ i,q i<1) :
29    ∃ σ : TraceClass (Fock d), 0≤σ.1 ∧ traceCLM σ=1 ∧
30      ∀ a : Fin d → ℂ,
31        tracePairing (Λ.toLinearMap (vectorMixture (numberBasis d) (productGeometric q)))
32          (displacement a)=
33        (∏ i, (Real.exp (-‖a i‖^2/(2*(1-Thermal.amplified γ (q i)))) : ℂ)) *
34          tracePairing σ (displacement (-(diagonalScale
35            (fun i => Real.sqrt (Thermal.amplified γ (q i))/
36              Real.sqrt (1-Thermal.amplified γ (q i))) (star a)))) := by
37  obtain ⟨σ,hσ,ht,hc⟩ := thermalOutput_exists_reflected_idler Λ γ hγ hΛ q hq0 hq1
38  refine ⟨σ,hσ,ht,fun a => ?_⟩
39  rw [hc]
40  have hb : (fun i => (Real.sqrt (modeGain γ (q i)-1) : ℂ)*star (a i))=
41      diagonalScale (fun i => Real.sqrt (Thermal.amplified γ (q i))/
42        Real.sqrt (1-Thermal.amplified γ (q i))) (star a) := by
43    funext i
44    simp only [diagonalScale, amplified_sqrt_odds hγ (hq0 i) (hq1 i), Pi.star_apply]
45  have he : (∏ i, (Real.exp (-(modeGain γ (q i)*‖a i‖^2)/2) : ℂ))=
46      ∏ i, (Real.exp (-‖a i‖^2/(2*(1-Thermal.amplified γ (q i)))) : ℂ) := by
47    apply Finset.prod_congr rfl
48    intro i _
49    rw [amplified_gaussian_exponent hγ (hq1 i)]
50  rw [hb,he,mul_comm]
51 
52end Cloning.CovariantAmplifier