Exact Lean source
WeylSqueezerPreparation
formalization/Cloning/WeylSqueezerPreparation.lean
Source hash: dbb3fb5c42dd3be116a521b0738c8e7ad0dad560e4fffd466918a24b3cfac422
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.WeylSqueezerProductDisplacement
2import Cloning.WeylSqueezerIdlerState
3import Cloning.WeylSqueezerKraus
4
5/-! Preparation of an arbitrary correlated mixed idler beside an arbitrary
6signal input, as a genuine CPTP channel on the entire trace class. -/
7noncomputable section
8open scoped BigOperators Topology InnerProductSpace ComplexOrder
9namespace Cloning.WeylSqueezer
10open Cloning.MultimodeCoherent Cloning.InfiniteTraceClass
11open Cloning.WeylSqueezerProduct
12set_option backward.isDefEq.respectTransparency false
13variable {d : ℕ}
14
15def preparationKraus (σ : DensityState (Fock d)) (i : IdlerIndex d) :
16 Fock d →L[ℂ] Fock (d+d) := tensorRight (idlerVector σ i)
17
18theorem preparationKraus_complete (σ : DensityState (Fock d)) :
19 RectangularKrausComplete (preparationKraus σ) := by
20 intro x
21 have hh := (idlerVector_norm_sq_hasSum σ).mul_left (‖x‖^2)
22 simpa only [preparationKraus,tensorRight_apply,WeylSqueezerProduct.tensorVector_norm,
23 mul_pow,mul_one] using hh
24
25def preparationChannel (σ : DensityState (Fock d)) : QuantumChannel (Fock d) (Fock (d+d)) :=
26 QuantumChannel.ofRectangularKraus (preparationKraus σ) (preparationKraus_complete σ)
27
28theorem preparationChannel_pure_hasSum (σ : DensityState (Fock d)) (x : Fock d) :
29 HasSum (fun i => vectorProjector (WeylSqueezerProduct.tensorVector x (idlerVector σ i)))
30 ((preparationChannel σ).toLinearMap (vectorProjector x)) := by
31 have hh := QuantumChannel.ofRectangularKraus_vectorProjector_hasSum
32 (preparationKraus σ) (preparationKraus_complete σ) x
33 simpa only [preparationKraus,tensorRight_apply] using hh
34
35/-- Exact product characteristic function, with a full mixed idler and every
36complex trace-class signal input. -/
37theorem preparationChannel_characteristic (σ : DensityState (Fock d))
38 (T : TraceClass (Fock d)) (a b : Fin d → ℂ) :
39 tracePairing ((preparationChannel σ).toLinearMap T) (displacement (Fin.append a b))=
40 tracePairing (idlerTraceClass σ) (displacement b)*tracePairing T (displacement a) := by
41 apply channel_pairing_of_pure
42 intro x
43 have hs := rectangularKraus_pairing_pure_hasSum (preparationKraus σ)
44 (preparationKraus_complete σ) x (displacement (Fin.append a b))
45 have ht := (idlerVector_pairing_hasSum σ (displacement b)).mul_left
46 ⟪x,displacement a x⟫_ℂ
47 have he (i : IdlerIndex d) :
48 ⟪preparationKraus σ i x,displacement (Fin.append a b) (preparationKraus σ i x)⟫_ℂ=
49 ⟪x,displacement a x⟫_ℂ*⟪idlerVector σ i,displacement b (idlerVector σ i)⟫_ℂ := by
50 simp only [preparationKraus,tensorRight_apply,displacement_append_tensor,tensorVector_inner]
51 simp_rw [he] at hs
52 exact hs.unique (by simpa only [mul_comm] using ht)
53
54end Cloning.WeylSqueezer