Appendix G.2: explicit exact superoperators
ProvedQAlgorithms.Papers.Independent.Gap48.P23.ideal_choi_matricesWork in finite-dimensional complex Hilbert spaces with the indicated computational bases. A channel is a fixed completely positive trace-preserving map, independent of the unknown word and common basis . Write . For an input promise , let be the minimum of over every allowed and , and let be its supremum over channels. An omitted means all words. Boolean functions use ; positive odd is imposed whenever symmetry and equivariance of a Boolean function are required.
Take the six literal output-first Choi matrices of Appendix G.2, with scales in the order ID, NOT, MAJ3, PAR3, NPAR3, NMAJ3. For their inverse-Choi superoperators,
Complete positivity is not assumed. This finite collection does not assert arbitrary-input-size existence or uniqueness.
This is the stated interface for the corresponding result of the paper.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P23
open MeasureTheory
open scoped ComplexConjugate Matrix ComplexOrder
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
-- Exact frozen coordinate helpers; no paper-local redeclarations.
open QAlgorithms.Papers.Independent.Information100.P58 (Word)
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
/-- PDF pp.84-85, Appendix G.2: all six literal superoperators implement
exact ideal functionality on every word and common basis. They are not
assumed to be CP; equality with a target density guarantees valid outputs on
the promised products. No arbitrary-n existence or uniqueness is asserted. -/
theorem ideal_choi_matrices :
(∀ (mask : Fin 2) (x : Word 1 2) (U : Matrix.unitaryGroup (Fin 2) ℂ),
appendixOneChannel true mask (encodedInput U.val x) = targetDensity U.val (tableFunction 1 mask.val x)) ∧
(∀ (mask : Fin 4) (x : Word 3 2) (U : Matrix.unitaryGroup (Fin 2) ℂ),
appendixThreeChannel true mask (encodedInput U.val x) = targetDensity U.val (tableFunction 3 mask.val x)) := by sorry
end QAlgorithms.Papers.Independent.Gap48.P23
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every mask , every one bit word , and every complex unitary , and separately for every mask , every three bit word , and every , the explicitly defined map satisfies
Here is respectively or , , and takes the values at weights . For , writing , , the function takes the values at weights . For one bit, flattening to , the matrices are
For three bits, flatten to . Define a symmetric matrix on indices by diagonal values at , at , at , and at ; its upper triangular entries are at , at , at , at all pairs within or within , and at all pairs within or within ; every other entry is zero. The matrices used in the equality are
This declaration asserts these output equalities without asserting that the maps are channels.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.