Heralded exact universal processing with 2m program qubits
OpenQAlgorithms.Papers.Independent.Extend50.P43.probabilistic_universal_arrayFix . Let be the -qubit data register and split the program qubits into . For every unitary on qubits, supply the explicitly constructed normalized program
The fixed processor measures each ordered pair in the Bell basis. Write for the unnormalized remaining vector obtained by contraction with the product Bell bra for outcome , and set . The outcomes form a complete measurement, so for every normalized full input . For every normalized data vector , the designated outcome in which all pairs give satisfies
Thus the measured flag certifies exact output for every with the same positive probability. Register is designated as the output, as the source permits; no assertion is made about accidental agreement on failure outcomes.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P43
namespace QAlgorithms.Papers.Independent.Extend50.P43
open scoped ComplexConjugate
noncomputable section
/-- PDF pp.2–3, Eq.(11) and the all-Phi-plus construction: one fixed complete
Bell measurement implements every U with its explicit normalized 2m-qubit
program. Success amplitude is exactly 2^(-m) U d, probability is 2^(-2m),
and conditional C output is exactly U d. C is the allowed output location.
No claim is made that failure labels cannot accidentally give the same ray. -/
theorem probabilistic_universal_array (m : ℕ) (hm : 1 ≤ m) :
(∀ psi : EuclideanSpace ℂ (Qubits m × (Qubits m × Qubits m)),
IsState psi → ∑ o : Fin m → Fin 4, bellOutcomeProbability o psi = 1) ∧
∀ U : Matrix (Qubits m) (Qubits m) ℂ,
U ∈ Matrix.unitaryGroup (Qubits m) ℂ →
IsState (program U) ∧
∀ d : EuclideanSpace ℂ (Qubits m), IsState d →
contractBellOutcome (successOutcome m) (tensorVec d (program U)) =
((2 : ℂ) ^ m)⁻¹ • act U d ∧
bellOutcomeProbability (successOutcome m) (tensorVec d (program U)) =
((2 : ℝ) ^ (2 * m))⁻¹ ∧
normalizedBellOutput (successOutcome m) (tensorVec d (program U)) =
act U d := by sorry
end
end QAlgorithms.Papers.Independent.Extend50.P43
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , let , identifying false with and true with , and equip complex vectors indexed by these finite sets with the Euclidean norm. For and bits , define the amplitudes
where is addition modulo and denotes an indicator. For an outcome assignment , put , and for a vector indexed by , define the vector by
The assertion is that every such with satisfies ; and that, for every unitary complex matrix indexed by , the vector has norm , and every vector indexed by with satisfies, for and the assignment ,
where .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.