Appendix C / Eqs.(68)–(70): exact qubit fidelity
OpenQAlgorithms.Papers.Independent.Extend50.P17.exact_qubit_fidelityFor integers , let be the fixed-resource qubit MPBT entanglement fidelity with completed SRM. Put . For lower-row lengths and , set , with binomial coefficients zero outside their integer range. Then
This is Eq. (68) with and , so spin parity is automatic. The erroneous simplification in Eq. (70) is not used.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P17
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P17
open Filter MeasureTheory
open scoped BigOperators Matrix ComplexOrder Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable
/-- PDF p.14, Eq.(68): exact completed-SRM qubit entanglement fidelity.
Eq.(70)'s denominator N+1 would need sqrt(N+1); Eq.(68) is used unchanged. -/
theorem exact_qubit_fidelity (N k : ℕ) (hk : 1 ≤ k) (hNk : k ≤ N) :
mpbtFidelity 2 N k = qubitFidelityExpression N k := by sorry
end QAlgorithms.Papers.Independent.Extend50.P17
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers with , the following equality holds. Write , let be the set of injections , and index matrices by with and . Define as if outside and , for every , and as otherwise. Set , , and by continuous functional calculus for , with reciprocal zero equal to zero. Set
For an integer , let when , and when ; the binomial coefficient is also zero when . Then
Both sides are real numbers, all summation indices are natural numbers, and the displayed square roots are real square roots. The hypotheses exclude and ; the summation bounds ensure that the displayed natural-number subtractions agree with ordinary integer subtraction.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.