Appendix D: symmetric-code average and t-qudit marginal
OpenQAlgorithms.Papers.Independent.Extend50.P09.su_average_marginalFix an integer . For let partition with at most rows, and let be the actual Schur and Specht module dimensions. Append the physical isotypic embedding of , where is a fixed unit Specht vector, to one logical -level system. Conjugate by Haar measure on the determinant-one commutant of the collective action and erase one fixed known site. Errors mean optimal CPTP recovery measured in root-fidelity purified distance, with normalized Choi input and a decoder chosen before the worst reference-entangled input.
For this exact average identity let the normalized logical input be any pure and retain any first sites, . Put , the actual normalized isotypic projector. The full averaged encoded state equals the average obtained by replacing the ancillary state with , and
Here denotes the other retained positions; the first marginal of retains ancilla sites, and the last retains .
The last term is omitted at . This formula makes no multiple-erasure error-performance claim.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P09
noncomputable section
open scoped Matrix Matrix.Norms.Elementwise ComplexConjugate ENNReal ComplexOrder
open MeasureTheory Filter
namespace QAlgorithms.Papers.Independent.Extend50.P09
attribute [local instance] Classical.propDecidable Classical.decEq
-- Exact generic definitions from the pinned accepted library.
open QAlgorithms.Papers.Independent.Information100.P22 (Op mixed bell)
open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)
open QAlgorithms.Papers.Independent.Advance50.P02 (negLog)
attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixMeasurable
attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixBorel
/-- Appendix D, PDF pp.21–22, (D9)–(D10): exact average and
arbitrary t retained qudits; no assertion of t>1 recovery performance. -/
theorem su_average_marginal (d n t : ℕ) (hd : 2 ≤ d) (hn : 2 ≤ n)
(ht0 : 1 ≤ t) (ht : t ≤ n) (lam : Schur.Partition d (n-1))
(psi : EuclideanSpace ℂ (Fin (rdim lam))) (hpsi : IsState psi)
(v : EuclideanSpace ℂ (Fin d)) (hv : IsState v)
(mu : Measure (Op (CovariantWord d n))) (hmu : IsCommutantHaarLaw (SUGroup d n) mu) :
(∫ V, appendUnitaryEncoder (show 1 ≤ n by omega) (suAncilla lam psi) V
(logicalMatrix (pureDensity v)) ∂mu) =
(∫ V, appendUnitaryEncoder (show 1 ≤ n by omega) (isotypicState lam) V
(logicalMatrix (pureDensity v)) ∂mu) ∧
firstTrace ht (∫ V, appendUnitaryEncoder (show 1 ≤ n by omega) (suAncilla lam psi) V
(logicalMatrix (pureDensity v)) ∂mu) =
suMarginalFormula hn ht0 ht lam (pureDensity v) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P09
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every with and , every Young diagram with cells and at most rows, every unit vector , every unit vector , and every probability measure on complex matrices indexed by length- words that assigns measure zero to the complement of
and satisfies for every , the assertion is
and the partial trace of the left-hand integral onto its first sites equals
The tensor products use the first site for ; , and partial traces sum equal row and column values over the discarded sites. To specify both ancillas, fix the chosen numbering of each diagram’s cells, let preserve rows and columns, define , and let , with dimension and orthogonal projector . Let , , and . Set , of dimension , and
For every diagram with cells and at most rows, take the prescribed orthonormal bases of and of , form the matrix
using continuous functional calculus, and define . Then . All reciprocals at zero are zero. In particular, the hypothesis requiring a unit cannot hold if ; neither nor is included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.