Appendix G unnumbered result: angular-momentum resource fidelity
OpenQAlgorithms.Papers.Independent.Extend50.P04.resource_spin_overlapLet and use the normalized explicit qubit principal coefficients (87)/(E5) to construct by (84). Let . With twice-spin index , one has
Parity makes both factorial arguments integers. This evaluates the resource overlap in angular-momentum coordinates.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P04
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P04
open QAlgorithms
open scoped Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable
/-- PDF p.26, Appendix G, (G6): angular-momentum expression for the actual qubit resource overlap.
Twice-spin parity indexing and real exponent N-2 include N=1 faithfully. -/
theorem resource_spin_overlap (N : ℕ) (hN : 1 ≤ N) :
resourceFidelity 2 N (resourceOperation 2 N (qubitCoefficients N)) = spinFormula N := by sorry
end QAlgorithms.Papers.Independent.Extend50.P04
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , put and, for , define
with natural-number exponents of and real divisions inside the trigonometric arguments. Let be the Young diagrams with cells and at most two rows, and assign when , and otherwise, with rows indexed from zero. For each diagram, use a fixed bijective numbering of its cells by , let be the row-preserving and column-preserving permutations, let be the image of
and put . Let count fillings by weakly increasing along rows and strictly increasing down columns, let be the orthogonal projection onto , and set , . Define
and let be the modulus of the inner product between the two vectors, indexed by binary words of length , with respective amplitudes and ; thus . Then
The exponent in is a real exponent with real subtraction, so it equals when ; the arguments of the factorials use natural-number subtraction and integer division. All scalar divisions by zero are evaluated as zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.