Offline · exact source
Exact Lean source

PhysicalFlatPinching

formalization/Cloning/PhysicalFlatPinching.lean

Source hash: 27ff419acc80e67ed1318c539f2153526087c4f4a589c006aa38bcda0b0a3d42

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.InfiniteFiniteInstrument
2import Cloning.TensorLANEmbeddingBlocks
3import Cloning.InfiniteChannelFidelity
4import Cloning.HybridStates
5 
6/-! The literal Schur pinching channel on the full physical tensor register.
7Every individual canonical copy is retained. The map is completely positive
8and trace preserving on all complex trace-class inputs, and fixes every
9matrix tensor power. -/
10noncomputable section
11open scoped BigOperators InnerProductSpace Classical ComplexOrder
12namespace Cloning.PhysicalFlatConverse
13open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1200000
16local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
17  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
18 
19/-- Measurement of the actual complete Schur-copy decomposition followed by
20the same canonical physical embedding. -/
21def schurPinching (n d : ℕ) : QuantumChannel (TensorRegister n (Fin d)) (TensorRegister n (Fin d)) :=
22  QuantumChannel.ofHilbertSum
23    (fun i : SchurCopy n d => ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding)
24    (canonicalSectorHilbertSum (recursivePhysicalDecomposition n d)
25      (recursivePhysicalDecomposition_is_decomposition n d).1
26      (recursivePhysicalDecomposition_is_decomposition n d).2)
27    (fun i => QuantumChannel.ofIsometry ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding)
28 
29/-- Exact action on arbitrary complex operators, with each individual copy
30compressed and embedded back into the full register. -/
31theorem schurPinching_apply (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) :
32    (schurPinching n d).toLinearMap A = ∑ i : SchurCopy n d,
33      conjugationLinearMap ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding.toContinuousLinearMap
34        (conjugationLinearMap
35          ((recursivePhysicalDecomposition n d).get i).canonicalEmbedding.toContinuousLinearMap.adjoint A) := by
36  rw [schurPinching, QuantumChannel.ofHilbertSum_apply]
37  rfl
38 
39theorem schurPinching_completelyPositive (n d : ℕ) :
40    IsCompletelyPositive (schurPinching n d).toLinearMap :=
41  (schurPinching n d).completelyPositive
42 
43theorem schurPinching_nonneg (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) (hA : 0 ≤ A.1) :
44    0 ≤ ((schurPinching n d).toLinearMap A).1 :=
45  (schurPinching n d).toPositiveTracePreservingMap.map_nonneg A hA
46 
47theorem schurPinching_trace (n d : ℕ) (A : TraceClass (TensorRegister n (Fin d))) :
48    traceCLM ((schurPinching n d).toLinearMap A) = traceCLM A :=
49  (schurPinching n d).toPositiveTracePreservingMap.trace_preserving A
50 
51/-- Every literal tensor power is fixed, without a positivity or Hermitian
52restriction on its one-site matrix. -/
53theorem schurPinching_matrixTensorPower (n d : ℕ) (X : Matrix (Fin d) (Fin d) ℂ) :
54    (schurPinching n d).toLinearMap (matrixTensorPower X n) = matrixTensorPower X n := by
55  rw [schurPinching_apply]
56  simp only [matrixTensorPower_canonical_block]
57  exact (matrixTensorPower_eq_sum_canonical_blocks (recursivePhysicalDecomposition n d)
58    (recursivePhysicalDecomposition_is_decomposition n d).1
59    (recursivePhysicalDecomposition_is_decomposition n d).2 X).symm
60 
61theorem schurPinching_rootFidelity (n d : ℕ)
62    (A B : PositiveTraceClass (TensorRegister n (Fin d))) :
63    A.rootFidelity B ≤
64      (A.map (schurPinching n d).toPositiveTracePreservingMap).rootFidelity
65        (B.map (schurPinching n d).toPositiveTracePreservingMap) :=
66  InfiniteFidelity.fidelity_data_processing (schurPinching n d) A.1 B.1 A.2 B.2
67 
68/-- Pinching can only improve fidelity against any fixed target. -/
69theorem schurPinching_rootFidelity_of_fixed (n d : ℕ)
70    (A B : PositiveTraceClass (TensorRegister n (Fin d)))
71    (hB : (schurPinching n d).toLinearMap B.1 = B.1) :
72    A.rootFidelity B ≤ (A.map (schurPinching n d).toPositiveTracePreservingMap).rootFidelity B := by
73  have he : B.map (schurPinching n d).toPositiveTracePreservingMap = B := Subtype.ext hB
74  simpa only [he] using schurPinching_rootFidelity n d A B
75 
76/-- In particular this applies to every physical tensor-power target. -/
77theorem schurPinching_rootFidelity_tensor (n d : ℕ)
78    (A : PositiveTraceClass (TensorRegister n (Fin d)))
79    (X : Matrix (Fin d) (Fin d) ℂ) (hX : 0 ≤ (matrixTensorPower X n).1) :
80    A.rootFidelity ⟨matrixTensorPower X n,hX⟩ ≤
81      (A.map (schurPinching n d).toPositiveTracePreservingMap).rootFidelity ⟨matrixTensorPower X n,hX⟩ :=
82  schurPinching_rootFidelity_of_fixed n d A ⟨matrixTensorPower X n,hX⟩
83    (schurPinching_matrixTensorPower n d X)
84 
85end Cloning.PhysicalFlatConverse