Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

16.4 Compilation Error, Query Counts, and Asymptotic Gate Length

When the initial success probability in amplitude amplification is known and we are allowed an auxiliary coin rotation coinRotation q, we can eliminate the integer-step overshoot of Chapter 15 completely and bound the exact number of source queries.

In CoherentUniformAmplification, given , , and , the -dimensional auxiliary-coin block matrices are

The six constructors of AmplificationGate are .source, .sourceAdjoint, .coin, .coinAdjoint, .initializedReflection, and .goodReflection, mapped by gateMatrix to , , , , (), and . evaluateWord J C P q w maps gateMatrix over and takes List.prod (rightmost gate acts first); reflectionBlock is [.coin, .source, .initializedReflection, .sourceAdjoint, .coinAdjoint, .goodReflection]; amplificationWord 0 is [.coin, .source] and amplificationWord (n+1) prepends reflectionBlock on the left; and sourceQueries w counts occurrences of .source plus .sourceAdjoint (with when ).

Corollary 16.6 (Exact Coherent Amplitude Amplification and Source-Query Upper Bound)LEAN ✓

Let be finite index types with decidable equality, and let , , and satisfy

Let

Then all six clauses hold:

  1. Exact target hit: ;

  2. Zero failure block: ;

  3. Kronecker reference identity: for every type and matrix ,

  4. Source-query upper bound:

  5. Unitarity of the evaluated word: ;

  6. Branch parameters: if , then ; otherwise (),

Proof

When , uses source query and . When , choosing ensures and . The modified preparation has success Gram matrix and normalized success block . Since , applying Theorem 15.1 to at step gives and , proving and . Finally, contains occurrences of .source and .sourceAdjoint, and with bounds . The full proof is checked by the Lean kernel.

Slow each step a little and whole steps land exactly on the target. For and : on the left, three violet steps of the original size carry the amber arrow past the success direction , overshooting by the magenta ; on the right, the coin slows each step to , and the same three steps put the amber arrow exactly on , since ; see Corollary 16.6.

Critical distinction (Figure 16, Panel III): sourceQueries(w) in Corollary 16.6 counts only .source and .sourceAdjoint calls ( for , for ) using the continuous coin rotation coinRotation q for known ; it is not the total gate count and must never be confused with the Solovay–Kitaev compilation gate length.

Let us now check, in one four-step worked example, the Chebyshev values at , the exact sphere vertices of the gate set for together with the support gaps of the inscribed polytope, and the exact source-query counts for .

Example 16.7 (Chebyshev Recurrence at x=1/2, the Five-Vertex L=3 {H,T} Polytope, and Exact Source-Query Counts)

This example provides a four-part numerical verification:

Step 1: Chebyshev recurrence at and . With , (, ), Theorem 16.1 gives , , , and , matching and .

Step 2: Exact orbit for from . On , and . Starting from , each layer applies and to every point of the previous layer and keeps the old points ():

  • ( point, a single point): ;
  • ( points, a segment): (the North Pole is fixed by ), and only is new, so ;
  • ( points, a planar triangle): sends back to , while produces the equatorial point , so ;
  • ( points, first full-dimensional hull): on the new point, and , so .

Thus the point counts for are . At , becomes -dimensional for the first time, and because all five vertices satisfy and (Figure 16, Panel II illustrates a larger- polyhedral hull rather than claiming these five points enclose the origin).

Step 3: Support gap of and chordal facet gap of the reference regular octahedron. On , the support maximum in direction is , whereas in direction it is , leaving a directional support gap of against ; hence is not an all-direction small-error approximation. For an independent reference octahedron (not claiming all six axial poles are reached at ), the facet normal has support height and radial gap .

Step 4: Exact source-query staircase for from Corollary 16.6.

Initial Probability Step Count Modified Coin Ratio Bound

Each row satisfies , , and . This counts amplitude-amplification source queries for known , not Solovay–Kitaev compilation gate counts.

Length 3: five vertices, the centre outside. The five cyan vertices of the example enclose a solid for the first time, but all of them lie where and . The amber target points to : the nearest vertex is away, the support height is , and the magenta radial gap runs from the centre all the way to the sphere, a full , as computed in the third step.

Remark 16.8 (The Solovay–Kitaev Compilation Theorem and Polylogarithmic Gate Length (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book. When compiling arbitrary single-qubit gates into words over a finite discrete gate set, the asymptotic gate length is bounded above by the Solovay–Kitaev theorem (see C. M. Dawson and M. A. Nielsen, The Solovay–Kitaev algorithm, Quantum Inf. Comput. 6, 81–95, 2006, arXiv:quant-ph/0505030):

  1. Polylogarithmic gate length : For any finite, inverse-closed gate set generating a dense subgroup of , every target and sufficiently small admit an approximating word of length within operator error . In the Dawson–Nielsen recursion built from group commutators, each level glues approximating words of the previous level into a correction that raises the precision from to , which gives the exponent (the hidden constants depend on the gate set and the chosen error metric). This is only the exponent of the Dawson–Nielsen construction, not the optimal order for : for the Clifford+T gate set, number-theoretic synthesis gives word length directly (P. Selinger, Efficient Clifford+T approximation of single-qubit operators, arXiv:1212.6253; N. J. Ross and P. Selinger, Optimal ancilla-free Clifford+T approximation of z-rotations, Quantum Inf. Comput. 16, 901–953, 2016); and since there are only exponentially many words of length at most while covering the three-dimensional takes about balls of radius , every finite gate set needs worst-case length , so the Clifford+T order is .
  2. Inverse closure of and projective lifts: Because and in (with unimodular lifts , for which and , the central signs being tracked consistently), inverses cost a constant factor, so the projective compilation problem inherits the scaling up to constant prefactors.
  3. Scaling of the group commutator: In , choosing produces a correction of order with residual (one must never misstate the commutator as linear in an step).
  4. Nonzero worst-case finite- residual: The Solovay–Kitaev theorem is an asymptotic scaling theorem as ; while discrete gate words already belonging to (such as ) trivially have zero error at depth , the worst-case covering radius across the continuous group or sphere remains strictly positive () at every finite word length , so worst-case target gates outside always incur a nonzero compilation residual; nor does the theorem equate the single-state covering radius with full operator compilation.

Optimal Bloch-sphere coverage along one gate sequence (manual derivation, using Literature). From any Bloch ray there is an infinite sequence of gates whose rays at steps through have directional correlation deficit . The angular covering radius is . Caps of area centered at the visited rays must cover area , so even if inverse gates are allowed.

In the rotation representation, and rotate around the and axes through . The product of their standard spin lifts has trace . Its quadratic field norm is , so the trace cannot be an algebraic integer and the product has infinite order. Its powers are dense in the rotations about its axis, which has nonzero components. Conjugating by gives rotations about a second, nonparallel axis. Their generators and Lie bracket span the rotation Lie algebra, so the closure of the lifts is . Their entries are algebraic, so the Bourgain–Gamburd spectral gap applies (Literature, paper). The orbit map pushes Haar probability to uniform sphere probability . The symmetric average of the gates and their inverses, averaged equally with identity, gives a positive self-adjoint Markov operator with norm at most on mean-zero functions.

For an angular target cap of radius , let be the union of preimages by words of length at most . If , support of in and Cauchy–Schwarz give . Hence with and . A stationary walk with positions avoids a set of area with probability at most . For functions supported in its complement the squared mean is at most times the squared norm, so the compression of has norm at most . There is also a word of length from any start into any target cap. Use two caps of radius and equal area about start and target. The -step transfer inner product is at least when , giving a word that sends the starting center within of the target.

Use an angular -net with targets and stationary reference positions. The expected shortest detour from any of those positions to each target cap is bounded. The probability of needing more than steps is at most until the preimages cover half the area, then at most , and the detour length is at most . Summing expectations gives a reference path with total detour length . Delete its identity steps and insert each detour and its reverse inverse at the corresponding reference position. Steer the actual start within of the reference start. Isometries keep the discrepancy at most throughout, so the word covers the sphere to angular radius . On rays and , so replacing every with gives a word at most times as long. First apply to count the starting ray, then concatenate stages of radius for , padding each with to at least steps. At the end of stage the deficit is at most . Until the next stage ends the total length is and the deficit can only decrease, giving the bound for all prefixes. Every step of the resulting sequence is an actual or gate. See Paper I’s Coverage along one gate sequence.

The largest hole shrinks step by step and never closes. The length runs from to : the cyan reachable points grow denser layer by layer, and the largest empty cap circled in dashed magenta shrinks from to , not at all at some layers; at there are points, and the hole is still there. The magenta staircase beside the sphere is the covering radius the page computes for each (amber at ), with no asymptotic rate fitted; the asymptotic word length is the literature result of Remark 16.8.

With this chapter, Part IV (Higher-Dimensional Spheres — Entanglement, Topology, and Quantum Algorithms) is complete. Across Chapters 13 through 16, we have traced how quantum geometry rises from single spheres to bipartite correlation sectors, stabilizer subspaces, invariant-plane rotations, Fourier annihilator lattices, and finite-word inscribed polytopes whose positive residual leaves the door open to Parts V and VI — spacetime and observer complexity, incompleteness diagonal escape, and self-referential cosine fixed points (whose classical analytic and number-theoretic properties are recorded in Chapter 24, Remark 24.12).

The gate-word polytope lab. Drag the rail to change the length , drag the amber target on the sphere, or switch to the worst direction: cyan is where the words of length at most land, and their hull; magenta is the arc to the nearest reachable point, the radial gap and the empty cap. The green box is Proposition 16.5, as the continuous-axis contrast; everything else is the page’s numbers.