Exact Lean source
OccupationRecovery
formalization/Cloning/OccupationRecovery.lean
Source hash: a954ba052400665c21c977377b644ac61037fd120ba9ce98cc8af25d5598c485
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
theorem
Cloning.SymmetricOccupation.finite_number_orthonormaldefinition Cloning.SymmetricOccupation.occupationPadtheorem Cloning.SymmetricOccupation.occupationPad_applytheorem Cloning.SymmetricOccupation.occupationPad_restrictdefinition Cloning.SymmetricOccupation.occupationRecoverytheorem Cloning.SymmetricOccupation.occupationRecovery_productTensortheorem Cloning.SymmetricOccupation.occupationRecovery_product_coherent_tendsto1import Cloning.IsometricRecovery
2import Cloning.ComplexCoherent
3
4/-! Reverse occupation compression as an actual channel on the entire tensor
5space. Its action on normalized product states is exactly the padded binomial
6projector, so the reverse coherent limit has no approximation premise. -/
7noncomputable section
8open scoped ComplexOrder InnerProductSpace Topology BigOperators
9open Filter
10namespace Cloning.SymmetricOccupation
11open Cloning.InfiniteTraceClass
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14
15theorem finite_number_orthonormal (L : ℕ) :
16 Orthonormal ℂ (fun j : Fin (L + 1) => (lp.single 2 j.val 1 : Fock)) := by
17 rw [orthonormal_iff_ite]
18 intro i j
19 rw [lp.inner_single_left]
20 simp only [RCLike.inner_apply, lp.single_apply, Pi.single_apply]
21 by_cases h : i = j
22 · simp [h]
23 · simp [h, show i.val ≠ j.val from fun hij => h (Fin.ext hij)]
24
25/-- Zero-padding from the finite occupation register into the Fock register. -/
26def occupationPad (L : ℕ) : OccupationSpace L →ₗᵢ[ℂ] Fock :=
27 (finite_number_orthonormal L).orthogonalFamily.linearIsometry
28
29theorem occupationPad_apply (L : ℕ) (x : OccupationSpace L) (n : ℕ) :
30 occupationPad L x n = if h : n < L + 1 then x ⟨n, h⟩ else 0 := by
31 classical
32 rw [occupationPad, OrthogonalFamily.linearIsometry_apply, tsum_fintype]
33 simp only [LinearIsometry.toSpanSingleton_apply, lp.coeFn_sum, Finset.sum_apply,
34 lp.coeFn_smul, Pi.smul_apply, smul_eq_mul, lp.single_apply, Pi.single_apply]
35 split_ifs with hn
36 · rw [Finset.sum_eq_single (⟨n, hn⟩ : Fin (L + 1))]
37 · simp
38 · intro j hj hne
39 have hval : n ≠ j.val := fun h => hne (Fin.ext h.symm)
40 simp [hval]
41 · simp
42 · apply Finset.sum_eq_zero
43 intro j hj
44 have hval : n ≠ j.val := by intro h; exact hn (h ▸ j.isLt)
45 simp [hval]
46
47theorem occupationPad_restrict (L : ℕ) (y : Fock)
48 (hy : ∀ j, L < j → y j = 0) : occupationPad L (restrict L y) = y := by
49 ext j
50 rw [occupationPad_apply]
51 split_ifs with hj
52 · rfl
53 · rw [hy j (by omega)]
54
55/-- This channel is defined on nonsymmetric inputs too, replacing their
56discarded mass in the Fock vacuum. -/
57def occupationRecovery (L : ℕ) : QuantumChannel (TensorSpace L) Fock :=
58 (QuantumChannel.ofIsometry (occupationPad L)).comp
59 (QuantumChannel.isometricRecovery (isometry L)
60 (DensityState.pure (lp.single 2 (0 : Fin (L + 1)) 1)
61 (by rw [lp.norm_single (by norm_num)]; simp)))
62
63theorem occupationRecovery_productTensor (z : ℂ) (L : ℕ) :
64 (occupationRecovery L).toLinearMap
65 (vectorProjector (Cloning.ComplexCoherent.productTensor z L)) =
66 vectorProjector (Cloning.ComplexCoherent.productVector z L) := by
67 change (QuantumChannel.ofIsometry (occupationPad L)).toLinearMap
68 ((QuantumChannel.isometricRecovery (isometry L) _).toLinearMap
69 (vectorProjector (isometry L (Cloning.ComplexCoherent.finiteProductVector z L)))) = _
70 rw [QuantumChannel.isometricRecovery_vectorProjector,
71 QuantumChannel.ofIsometry_vectorProjector,
72 ← Cloning.ComplexCoherent.restrict_productVector,
73 occupationPad_restrict L _ (Cloning.ComplexCoherent.productVector_eq_zero_of_lt z L)]
74
75/-- A physical reverse channel sends the literal two-level product states
76to their coherent Fock limits. -/
77theorem occupationRecovery_product_coherent_tendsto (z : ℂ) :
78 Tendsto (fun L => (occupationRecovery L).toLinearMap
79 (vectorProjector (Cloning.ComplexCoherent.productTensor z L))) atTop
80 (𝓝 (vectorProjector (Cloning.ComplexCoherent.coherentVector z))) := by
81 simp_rw [occupationRecovery_productTensor]
82 exact Cloning.ComplexCoherent.product_projector_tendsto z
83
84end Cloning.SymmetricOccupation