Exact Lean source
MatrixLiftedCPTPPhysical
formalization/Cloning/MatrixLiftedCPTPPhysical.lean
Source hash: c30947a3ae5eba5be0895a3e176366d5aa8ca04675bc64b34a14d6d71617c4da
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.MatrixLiftedCPTPKraus
2
3/-! The sector instrument on the actual physical trace-class registers. -/
4noncomputable section
5open scoped BigOperators Matrix MatrixOrder ComplexOrder Kronecker
6open Matrix Cloning.Channels Cloning.MatrixFidelity Cloning.MatrixLiftedChannel
7open Cloning.InfiniteTraceClass Cloning.PCT Cloning.PCTPurificationChannel
8
9namespace Cloning.MatrixLiftedCPTP
10
11set_option backward.isDefEq.respectTransparency false
12set_option linter.unusedSectionVars false
13
14variable {μ ν : Type*} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν]
15variable {α χ : μ → Type*} {β κ : ν → Type*}
16variable [∀ i, Fintype (α i)] [∀ i, Fintype (χ i)]
17variable [∀ j, Fintype (β j)] [∀ j, Fintype (κ j)]
18variable [∀ i, DecidableEq (α i)] [∀ i, DecidableEq (χ i)]
19variable [∀ j, DecidableEq (β j)] [∀ j, DecidableEq (κ j)]
20
21/-- The complete sector instrument on the physical trace-class spaces.
22Its CP and TP laws hold on all inputs, including coherent cross-sector inputs. -/
23def physicalChannel (Φ : ∀ i j, MatrixChannel (α i) (β j))
24 (K : μ → ν → ℝ) (hK : ∀ i j, 0 ≤ K i j)
25 (hKsum : ∀ i, ∑ j, K i j = 1) (τ : ∀ j, State (κ j)) :
26 QuantumChannel (Register (Σ i, α i × χ i)) (Register (Σ j, β j × κ j)) :=
27 registerChannel (channel Φ K hK hKsum τ)
28
29theorem physicalChannel_matrix (Φ : ∀ i j, MatrixChannel (α i) (β j))
30 (K : μ → ν → ℝ) (hK : ∀ i j, 0 ≤ K i j)
31 (hKsum : ∀ i, ∑ j, K i j = 1) (τ : ∀ j, State (κ j))
32 (X : Matrix (Σ i, α i × χ i) (Σ i, α i × χ i) ℂ) :
33 (physicalChannel Φ K hK hKsum τ).toLinearMap (registerLiftCLM X) =
34 registerLiftCLM (channelMap Φ K τ X) :=
35 registerChannel_matrix (channel Φ K hK hKsum τ) X
36
37/-- The physical channel produces exactly the desired lifted output law,
38independently of every discarded input multiplicity state. -/
39theorem physicalChannel_weightedInput (Φ : ∀ i j, MatrixChannel (α i) (β j))
40 (K : μ → ν → ℝ) (hK : ∀ i j, 0 ≤ K i j)
41 (hKsum : ∀ i, ∑ j, K i j = 1) (τ : ∀ j, State (κ j))
42 (ρ : ∀ i, State (α i)) (σ : ∀ i, State (χ i)) (p : μ → ℝ) :
43 (physicalChannel Φ K hK hKsum τ).toLinearMap
44 (registerLiftCLM (Matrix.blockDiagonal'
45 (fun i => (p i • (ρ i).matrix) ⊗ₖ (σ i).matrix))) =
46 registerLiftCLM (liftedOutput Φ ρ τ (kernelJoint p K)) := by
47 rw [physicalChannel, registerChannel_matrix, channel_weightedInput]
48
49/-- For a probability input law, the physical output is exactly the previously
50defined output density matrix, now obtained from a genuine channel. -/
51theorem physicalChannel_liftedStateOfKernel (Φ : ∀ i j, MatrixChannel (α i) (β j))
52 (K : μ → ν → ℝ) (hK : ∀ i j, 0 ≤ K i j)
53 (hKsum : ∀ i, ∑ j, K i j = 1) (τ : ∀ j, State (κ j))
54 (ρ : ∀ i, State (α i)) (σ : ∀ i, State (χ i)) (p : μ → ℝ)
55 (hp : ∀ i, 0 ≤ p i) (hpsum : ∑ i, p i = 1) :
56 (physicalChannel Φ K hK hKsum τ).toLinearMap
57 (registerLiftCLM (Matrix.blockDiagonal'
58 (fun i => (p i • (ρ i).matrix) ⊗ₖ (σ i).matrix))) =
59 registerLiftCLM (liftedStateOfKernel Φ ρ τ p K hp hpsum hK hKsum).matrix :=
60 physicalChannel_weightedInput Φ K hK hKsum τ ρ σ p
61
62end Cloning.MatrixLiftedCPTP