Exact Lean source
TensorCartanChannel
formalization/Cloning/TensorCartanChannel.lean
Source hash: bf74846b8decf409d047cc770ab77870c7f93ec0a0c94caadbdf23073079a033
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.TensorLie.physicalCartanBalancedefinition Cloning.TensorLie.physicalCartanMatrixChanneltheorem Cloning.TensorLie.physicalCartanMatrixChannel_applydefinition Cloning.TensorLie.physicalCartanRegisterChanneltheorem Cloning.TensorLie.physicalCartanRegisterChannel_registerLiftCLMdefinition Cloning.TensorLie.partitionRegisterEquivdefinition Cloning.TensorLie.physicalCartanChanneldefinition Cloning.TensorLie.partitionMatrixOperatortheorem Cloning.TensorLie.isometryEquiv_channel_roundtriptheorem Cloning.TensorLie.physicalCartanChannel_partitionMatrixOperator1import Cloning.TensorCartanScalarity
2import Cloning.TensorCartanLieBalance
3import Cloning.FiniteKrausLift
4
5/-! Genuine CPTP Cartan channels on the actual physical cyclic sectors.
6All representation, isometry and balancing inputs are constructed internally. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace Matrix Kronecker
9namespace Cloning.TensorLie
10open Cloning.PCT Cloning.InfiniteTraceClass Cloning.PCTPurificationChannel
11set_option maxHeartbeats 1000000
12set_option backward.isDefEq.respectTransparency false
13variable {d : ℕ}
14
15local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17
18/-- The physical Cartan range projection has the exact balanced partial trace,
19with the actual cyclic-sector dimension ratio. -/
20theorem physicalCartanBalance
21 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu) :
22 Cloning.Compression.partialTrace
23 (cartanMatrix mu nu hmu hnu * (cartanMatrix mu nu hmu hnu)ᴴ) =
24 ((partitionDimension (fun i => mu i + nu i) (sumPartition_antitone mu nu hmu hnu) : ℝ) /
25 (partitionDimension mu hmu : ℝ)) • (1 : Matrix (PartitionIndex mu hmu) _ ℂ) := by
26 simpa only [Fintype.card_fin] using
27 Cloning.TensorCartanLieBalance.balanced_partialTrace_of_lie_intertwining
28 (partitionGeneratorMatrix mu hmu) (partitionGeneratorMatrix nu hnu)
29 (partitionGeneratorMatrix _ (sumPartition_antitone mu nu hmu hnu))
30 (cartanMatrix mu nu hmu hnu)
31 (partitionGeneratorMatrix_adjoint mu hmu) (partitionGeneratorMatrix_adjoint nu hnu)
32 (partitionGeneratorMatrix_adjoint _ (sumPartition_antitone mu nu hmu hnu))
33 (by simpa only [Fintype.card_fin] using partitionDimension_pos mu hmu)
34 (cartanMatrix_isometry mu nu hmu hnu)
35 (cartanMatrix_intertwines mu nu hmu hnu)
36 (partitionGeneratorMatrix_commutant_scalar mu hmu)
37
38def physicalCartanMatrixChannel
39 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu) :
40 Cloning.Channels.MatrixChannel (PartitionIndex mu hmu)
41 (PartitionIndex (fun i => mu i + nu i) (sumPartition_antitone mu nu hmu hnu)) :=
42 Cloning.CartanChannel.cartanChannel (cartanMatrix mu nu hmu hnu)
43 (partitionDimension mu hmu : ℝ)
44 (partitionDimension _ (sumPartition_antitone mu nu hmu hnu) : ℝ)
45 (Nat.cast_pos.mpr (partitionDimension_pos mu hmu))
46 (Nat.cast_pos.mpr (partitionDimension_pos _ (sumPartition_antitone mu nu hmu hnu)))
47 (physicalCartanBalance mu nu hmu hnu)
48
49theorem physicalCartanMatrixChannel_apply
50 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
51 (X : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
52 (physicalCartanMatrixChannel mu nu hmu hnu).toFun X =
53 Cloning.Compression.sectorMap (partitionDimension mu hmu : ℝ)
54 (partitionDimension _ (sumPartition_antitone mu nu hmu hnu) : ℝ)
55 (cartanMatrix mu nu hmu hnu) X :=
56 Cloning.CartanChannel.cartanChannel_apply _ _ _ _ _ _ X
57
58def physicalCartanRegisterChannel
59 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu) :
60 QuantumChannel (Register (PartitionIndex mu hmu))
61 (Register (PartitionIndex (fun i => mu i + nu i) (sumPartition_antitone mu nu hmu hnu))) :=
62 Cloning.FiniteKrausLift.channel
63 (Cloning.CartanChannel.cartanKraus (cartanMatrix mu nu hmu hnu)
64 (partitionDimension mu hmu : ℝ)
65 (partitionDimension _ (sumPartition_antitone mu nu hmu hnu) : ℝ))
66 (Cloning.CartanChannel.cartanKraus_normalization _ _ _
67 (Nat.cast_pos.mpr (partitionDimension_pos mu hmu))
68 (Nat.cast_pos.mpr (partitionDimension_pos _ (sumPartition_antitone mu nu hmu hnu)))
69 (physicalCartanBalance mu nu hmu hnu))
70
71theorem physicalCartanRegisterChannel_registerLiftCLM
72 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
73 (X : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
74 (physicalCartanRegisterChannel mu nu hmu hnu).toLinearMap (registerLiftCLM X) =
75 registerLiftCLM ((physicalCartanMatrixChannel mu nu hmu hnu).toFun X) := by
76 rw [physicalCartanMatrixChannel_apply]
77 exact (Cloning.FiniteKrausLift.channel_registerLiftCLM _ _ X).trans
78 (congrArg registerLiftCLM
79 (Cloning.CartanChannel.sectorMap_eq_kraus _ X _ _ (by positivity)).symm)
80
81/-- Physical orthonormal coordinates, as a genuine Hilbert-space equivalence. -/
82def partitionRegisterEquiv (mu : Fin d → ℕ) (hmu : Antitone mu) :
83 cyclicSector (partitionHighestTensor mu hmu) ≃ₗᵢ[ℂ] Register (PartitionIndex mu hmu) :=
84 (partitionBasis mu hmu).repr.trans (registerBasis (PartitionIndex mu hmu)).toOrthonormalBasis.repr.symm
85
86/-- The actual CPTP sector channel, with source and target the constructed
87physical cyclic Hilbert spaces rather than abstract representation data. -/
88def physicalCartanChannel
89 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu) :
90 QuantumChannel (cyclicSector (partitionHighestTensor mu hmu))
91 (cyclicSector (partitionHighestTensor (fun i => mu i + nu i)
92 (sumPartition_antitone mu nu hmu hnu))) :=
93 (QuantumChannel.ofIsometry
94 (partitionRegisterEquiv _ (sumPartition_antitone mu nu hmu hnu)).symm.toLinearIsometry).comp
95 ((physicalCartanRegisterChannel mu nu hmu hnu).comp
96 (QuantumChannel.ofIsometry (partitionRegisterEquiv mu hmu).toLinearIsometry))
97
98/-- The actual trace-class operator corresponding to a complex matrix in the
99physical orthonormal sector basis. -/
100def partitionMatrixOperator (mu : Fin d → ℕ) (hmu : Antitone mu)
101 (X : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
102 TraceClass (cyclicSector (partitionHighestTensor mu hmu)) :=
103 (QuantumChannel.ofIsometry (partitionRegisterEquiv mu hmu).symm.toLinearIsometry).toLinearMap
104 (registerLiftCLM X)
105
106theorem isometryEquiv_channel_roundtrip {H K : Type*}
107 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
108 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
109 (e : H ≃ₗᵢ[ℂ] K) (X : TraceClass K) :
110 (QuantumChannel.ofIsometry e.toLinearIsometry).toLinearMap
111 ((QuantumChannel.ofIsometry e.symm.toLinearIsometry).toLinearMap X) = X := by
112 apply Subtype.ext
113 ext x
114 have he : e.toLinearIsometry.toContinuousLinearMap.adjoint =
115 e.symm.toLinearIsometry.toContinuousLinearMap := e.adjoint_eq_symm
116 have hs : e.symm.toLinearIsometry.toContinuousLinearMap.adjoint =
117 e.toLinearIsometry.toContinuousLinearMap := e.symm.adjoint_eq_symm
118 simp only [QuantumChannel.ofIsometry_apply_coe, he, hs,
119 LinearIsometry.coe_toContinuousLinearMap, LinearIsometryEquiv.coe_toLinearIsometry,
120 LinearIsometryEquiv.apply_symm_apply]
121
122/-- Exact all-input action of the genuine physical channel agrees with the
123Cartan dimension-ratio formula, with no balance premise. -/
124theorem physicalCartanChannel_partitionMatrixOperator
125 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
126 (X : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) :
127 (physicalCartanChannel mu nu hmu hnu).toLinearMap (partitionMatrixOperator mu hmu X) =
128 partitionMatrixOperator _ (sumPartition_antitone mu nu hmu hnu)
129 (Cloning.Compression.sectorMap (partitionDimension mu hmu : ℝ)
130 (partitionDimension _ (sumPartition_antitone mu nu hmu hnu) : ℝ)
131 (cartanMatrix mu nu hmu hnu) X) := by
132 change (QuantumChannel.ofIsometry
133 (partitionRegisterEquiv _ (sumPartition_antitone mu nu hmu hnu)).symm.toLinearIsometry).toLinearMap
134 ((physicalCartanRegisterChannel mu nu hmu hnu).toLinearMap
135 ((QuantumChannel.ofIsometry (partitionRegisterEquiv mu hmu).toLinearIsometry).toLinearMap
136 ((QuantumChannel.ofIsometry (partitionRegisterEquiv mu hmu).symm.toLinearIsometry).toLinearMap
137 (registerLiftCLM X)))) = _
138 rw [isometryEquiv_channel_roundtrip, physicalCartanRegisterChannel_registerLiftCLM,
139 physicalCartanMatrixChannel_apply]
140 rfl
141
142end Cloning.TensorLie