Exact Lean source
PhysicalFlatPCTProtocol
formalization/Cloning/PhysicalFlatPCTProtocol.lean
Source hash: b611722932e097aaf8536f35892265c5043cd69dd9dc889cd62dda9086f7171a
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.PCTRankGlobalEmbedding
2import Cloning.PhysicalFlatGrassmannIsometry
3
4/-! A single rank-adapted PCT channel and its outputs on every literal
5rank-r projector. The construction does not depend on the input projector. -/
6noncomputable section
7open scoped Matrix ComplexOrder
8namespace Cloning.PhysicalFlatPCT
9open Cloning.PCT Cloning.InfiniteTraceClass Cloning.Hybrid
10open Cloning.PhysicalFlatGrassmann Cloning.PCTRankAdapted Cloning.PCTPhysicalState
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 900000
13local instance (d k : ℕ) : Nonempty (Fin (d+1+k)) := ⟨⟨0,by omega⟩⟩
14
15/-- All stages use the fixed coordinate inclusion and fixed computational
16fallback. In particular no unknown projector or eigenbasis occurs here. -/
17def channel (d k n t : ℕ) :
18 QuantumChannel (Register (Fin n → Fin (d+1+k))) (Register (Fin (n+t) → Fin (d+1+k))) :=
19 PCTRankGlobal.channel (flat_ambient_register_card d k) n t
20 (coordinateInclusion (d+1) k) (fun _ => ⟨0,by omega⟩, fun _ => ⟨0,by omega⟩)
21
22/-- Literal output of the prescribed all-input CPTP map on a normalized
23orthogonal-projector product state. -/
24def outputState (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) :
25 PositiveTraceClass (Register (Fin (n+t) → Fin (d+1+k))) :=
26 (tensorState (state (by omega : 0<d+1) P) n).map (channel d k n t).toPositiveTracePreservingMap
27
28/-- Root fidelity against the requested literal projector product state. -/
29def fidelity (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) : ℝ :=
30 (outputState d k P n t).rootFidelity (tensorState (state (by omega : 0<d+1) P) (n+t))
31
32theorem fidelity_nonneg (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) :
33 0 ≤ fidelity d k P n t := PositiveTraceClass.rootFidelity_nonneg _ _
34
35theorem fidelity_le_one (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) :
36 fidelity d k P n t ≤ 1 := by
37 change Cloning.TensorCloning.statePayoff n (n+t) (channel d k n t)
38 (state (by omega : 0<d+1) P) ≤ 1
39 exact Cloning.TensorCloning.statePayoff_le_one _ _ _ _
40
41end Cloning.PhysicalFlatPCT