Offline · exact source
Exact Lean source

PCTRankAdaptedStates

formalization/Cloning/PCTRankAdaptedStates.lean

Source hash: 1f25a1666a73921e2f3953f4e79830f341b05cd8ed22cf770215aae8db05222c

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.PCTRankAdaptedFidelity
2 
3/-! Positive physical reduced Werner states and their exact support-fidelity
4factorization. The states are literal Werner outputs followed by partial trace. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace Matrix Kronecker ComplexOrder
7namespace Cloning.PCTRankAdapted
8open Cloning.PCT Cloning.PCTPurificationChannel Cloning.FiniteKrausLift
9open Cloning.InfiniteTraceClass Cloning.Hybrid Cloning.GeneralSymmetricOccupation
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 900000
12set_option linter.unusedSectionVars false
13variable {A B E : Type*} [Fintype A] [Fintype B] [Fintype E]
14  [DecidableEq A] [DecidableEq B] [DecidableEq E]
15 
16theorem pureWernerOutput_nonneg {L s : ℕ} (hcard : Fintype.card A = s+1)
17    (ψ : Register A) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) :
18    0 ≤ (pureWernerOutput hcard ψ hψ S).1 := by
19  obtain ⟨u,hu⟩ := exists_purification_frame hcard ψ hψ
20  subst ψ
21  rw [pureWernerOutput_eq_frame hcard u.orthonormal]
22  exact (QuantumChannel.ofIsometry (tensorFrame u.orthonormal L)).map_nonneg _
23    (wernerOutput_nonneg S)
24 
25def pureWernerPositive {L s : ℕ} (hcard : Fintype.card A = s+1)
26    (ψ : Register A) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) :
27    PositiveTraceClass (Register (Fin L → A)) :=
28  ⟨pureWernerOutput hcard ψ hψ S,pureWernerOutput_nonneg hcard ψ hψ S⟩
29 
30def reducedWernerPositive {L s : ℕ} (hcard : Fintype.card (A × E) = s+1)
31    (ψ : Register (A × E)) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) :
32    PositiveTraceClass (Register (Fin L → A)) :=
33  (pureWernerPositive hcard ψ hψ S).map
34    (partialTraceChannel.comp (QuantumChannel.ofIsometry (regroup L))).toPositiveTracePreservingMap
35 
36@[simp] theorem reducedWernerPositive_val {L s : ℕ}
37    (hcard : Fintype.card (A × E) = s+1)
38    (ψ : Register (A × E)) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) :
39    (reducedWernerPositive hcard ψ hψ S).1 = reducedWernerOutput hcard ψ hψ S := rfl
40 
41theorem tensorPower_isometry (L : ℕ) (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1) :
42    (tensorPower L J)ᴴ * tensorPower L J = 1 := by
43  rw [← tensorPower_star, ← tensorPower_mul, hJ, tensorPower_one]
44 
45def tensorIsometry (L : ℕ) (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1) :
46    Register (Fin L → A) →ₗᵢ[ℂ] Register (Fin L → B) :=
47  matrixIsometry (tensorPower L J) (tensorPower_isometry L J hJ)
48 
49/-- Finite-sample factorization for an arbitrary embedded purification and
50any target state on the smaller physical system. -/
51theorem reducedWerner_fidelity_factorization {L small large : ℕ}
52    (hA : Fintype.card (A × E) = small+1) (hB : Fintype.card (B × E) = large+1)
53    (J : Matrix B A ℂ) (hJ : Jᴴ * J = 1)
54    (ψ : Register (A × E)) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L))
55    (Y : PositiveTraceClass (Register (Fin L → A))) :
56    (reducedWernerPositive hB (matrixRegister (J ⊗ₖ (1 : Matrix E E ℂ)) ψ)
57      ((matrixRegister_norm _ (systemEmbedding_isometry J hJ) ψ).trans hψ) S).rootFidelity
58      (Y.map (QuantumChannel.ofIsometry (tensorIsometry L J hJ)).toPositiveTracePreservingMap) =
59    Real.sqrt (supportFactor S.card L small large) *
60      (reducedWernerPositive hA ψ hψ S).rootFidelity Y := by
61  apply rootFidelity_of_compression (tensorPower L J) (tensorPower_isometry L J hJ)
62    _ _ Y _ (supportFactor_pos S.card L small large).le
63  exact reducedWernerOutput_compression hA hB J hJ ψ hψ S
64 
65end Cloning.PCTRankAdapted