Theorem 4.8.
OpenQAlgorithms.Papers.Independent.Gap48.P23.template_gate_boundWork 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.
With all one-qubit gates and CNOT available, there are universal such that, for every positive odd and every allowed real interpolation vector, the full template channel has an exact gate-list realization with
The realization initializes zero ancillas, applies gates on named wires, retains one qubit, and traces the rest. Equality is on all operators.
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 p.33, Theorem 4.8: constants are uniform over n and all real rotation
parameters. Exact continuous gates are assumed as in the source proof; no
finite-precision Turing computation of arbitrary real constants is asserted. -/
theorem template_gate_bound :
∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ n ≥ N, 1 ≤ n → Odd n →
∀ (alpha : RealSchurCoefficients n), LawfulCoefficients alpha →
∀ t : TwoRowShape n → ℝ, (∀ k, 0 ≤ t k ∧ t k ≤ 1) →
∃ circuit : OneOutputCircuit n,
circuitOutput circuit (wordBinaryEmbedding n) = template alpha t ∧
(circuit.circuit.size : ℝ) ≤ C * (n:ℝ)^4 * Real.log n := by sorry
end QAlgorithms.Papers.Independent.Gap48.P23
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exist a real constant and a natural number such that the following holds for every natural number with and odd. Write , , and , where the second binomial coefficient is replaced by zero when . Let be any real coefficients, indexed by , , and permutations of the positions. For , define on binary words of length to be the tensor product of the vector that has amplitude on length- words with exactly ones and zero elsewhere, followed by copies of . A ket here is the coordinate vector at . Let , and define and for . Assume, for every , that the vectors are orthonormal and their complex linear span equals the span of all . Form the matrix and the matrices
For each positive integer , let have entries when the Boolean string has weight , and zero otherwise, and define
Also put and
where is the image of normalized Haar measure on under . For every real family satisfying , there exists a circuit on qubits for some natural number , with one designated output wire, whose induced map is exactly
The induced map means: identify binary words with Boolean strings, append zero ancillas to , conjugate by the circuit matrix, and retain only the designated output qubit by partial trace. The circuit is a finite ordered list of arbitrary one-qubit unitary gates and controlled-NOT gates on distinct wires, with earlier gates acting first, and its number of gates is at most . Equality of the maps holds on every complex input matrix. There is no bound here on the number of added ancillas, and the circuit conclusion is restricted to the stated positive odd above the threshold.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.