Offline · exact source
Exact Lean source

PCTRankAdaptedProduct

formalization/Cloning/PCTRankAdaptedProduct.lean

Source hash: 8be102a2ce1edc0f33c50e08b2bae713e40d9b1f062fd242137bdefe82c6c7a5

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.PCTRankAdaptedStates
2import Cloning.PCTPhysicalState
3 
4/-! Exact finite-sample product-state fidelity factorization for the literal
5rank-adapted purification--Werner--trace output. The separate universal
6purification channel supplies the state-independent implementation. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace Matrix Kronecker MatrixOrder ComplexOrder
9namespace Cloning.PCTRankAdapted
10open Cloning.PCT Cloning.PCTPurificationChannel Cloning.FiniteKrausLift
11open Cloning.InfiniteTraceClass Cloning.Hybrid Cloning.GeneralSymmetricOccupation
12open Cloning.PCTPhysicalState
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 900000
15set_option linter.unusedSectionVars false
16variable {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
17  [Nonempty A] [Nonempty B]
18 
19def embeddedState (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1)
20    (ρ : Cloning.MatrixFidelity.State A) : Cloning.MatrixFidelity.State B where
21  matrix := J * ρ.matrix * Jᴴ
22  positive := ρ.positive.mul_mul_conjTranspose_same J
23  trace_one := by rw [Cloning.Compression.trace_isometric_embedding J ρ.matrix hJ, ρ.trace_one]
24 
25theorem tensorState_embedded (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1)
26    (ρ : Cloning.MatrixFidelity.State A) (L : ℕ) :
27    (tensorState ρ L).map (QuantumChannel.ofIsometry (tensorIsometry L J hJ)).toPositiveTracePreservingMap =
28      tensorState (embeddedState J hJ ρ) L := by
29  apply Subtype.ext
30  change conjugationLinearMap (matrixRegister (tensorPower L J))
31    (registerLiftCLM (tensorPower L ρ.matrix)) =
32      registerLiftCLM (tensorPower L (J * ρ.matrix * Jᴴ))
33  rw [conjugation_matrixRegister, tensorPower_mul, tensorPower_mul, tensorPower_star]
34 
35def embeddedPurificationOutput {large : ℕ}
36    (hB : Fintype.card (B × A) = large+1)
37    (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1)
38    (ρ : Cloning.MatrixFidelity.State A) (n t : ℕ) :
39    PositiveTraceClass (Register (Fin (n+t) → B)) :=
40  reducedWernerPositive hB
41    (matrixRegister (J ⊗ₖ (1 : Matrix A A ℂ)) (canonicalPurification ρ.matrix))
42    ((matrixRegister_norm _ (systemEmbedding_isometry J hJ) _).trans (canonicalPurification_norm ρ))
43    (inputSlots n (n+t) (Nat.le_add_right n t))
44 
45theorem outputState_eq_reducedWernerPositive {small : ℕ}
46    (hA : Fintype.card (A × A) = small+1)
47    (ρ : Cloning.MatrixFidelity.State A) (n t : ℕ) :
48    outputState hA ρ n t = reducedWernerPositive hA (canonicalPurification ρ.matrix)
49      (canonicalPurification_norm ρ) (inputSlots n (n+t) (Nat.le_add_right n t)) := by
50  apply Subtype.ext
51  exact Cloning.PCTGlobal.channel_tensorPower hA n t ρ
52 
53/-- The exact finite-sample factorization in the projector comparison. It
54holds for every internal density, so the maximally mixed specialization
55requires no additional state-action or fidelity premise. -/
56theorem embeddedPurificationOutput_fidelity_factorization {small large : ℕ}
57    (hA : Fintype.card (A × A) = small+1) (hB : Fintype.card (B × A) = large+1)
58    (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1)
59    (ρ : Cloning.MatrixFidelity.State A) (n t : ℕ) :
60    (embeddedPurificationOutput hB J hJ ρ n t).rootFidelity
61      (tensorState (embeddedState J hJ ρ) (n+t)) =
62    Real.sqrt (supportFactor n (n+t) small large) *
63      (outputState hA ρ n t).rootFidelity (tensorState ρ (n+t)) := by
64  rw [← tensorState_embedded J hJ ρ (n+t), outputState_eq_reducedWernerPositive]
65  exact (reducedWerner_fidelity_factorization hA hB J hJ
66    (canonicalPurification ρ.matrix) (canonicalPurification_norm ρ)
67    (inputSlots n (n+t) (Nat.le_add_right n t)) (tensorState ρ (n+t))).trans
68    (by simp only [inputSlots_card])
69 
70end Cloning.PCTRankAdapted