Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedPipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Finite-Precision Bit Complexity of the SU(2) Solovay–Kitaev Compiler

Statement

Fix a finite inverse-closed dense G⊂SU(2) whose real and imaginary gate-entry coordinates are algebraic numbers supplied by their minimal polynomials over Q and rational isolating intervals with opposite endpoint signs and exactly one real root, and fix a rational certified base-net radius 0<η0<64−2. Let the finite base-net certificate be fixed. Suppose U∈SU(2) is given by a Cauchy name whose query on unary input 1b takes at most (b+1)c bit operations for a fixed integer c≥1. Given rational 0<ε≤η0 encoded as ε=p/q by positive binary integers p,q with a fixed delimiter (not necessarily reduced), there is a deterministic Turing implementation of the Solovay–Kitaev recursion that outputs a gate word W with ∥U−W∥≤ε and length O(log⁡log⁡3/25(1/ε)). If sε is the binary encoding length of ε and N=⌈log⁡2(2/ε)⌉, its bit time, including reading ε and printing the expanded word, is O((N+sε)c+10). Here sε is the total bit length of this numerator/denominator encoding. The constants depend on G, the fixed base-net certificate, and the fixed algebraic descriptions. This is distinct from the exact-real arithmetic count in Solovay–Kitaev Error and Resource Bound.

Facts & Assumptions

Given: The fixed gate package and base-net certificate, a target Cauchy name of the stated polynomial query time, and rational 0<ε≤η0<64−2 encoded as ε=p/q by positive binary integers p,q with a fixed delimiter (the fraction need not be reduced). Its length sε is the total bit length of this encoding, which can be parsed in O(sε) bit operations.

[F1]

A Cauchy name returns rational matrix entries with error at most 2−b on query 1b, and the requested rational tolerance is encoded in binary under the effective encoding convention (Effective Unitary Matrix Input).

[F2]

The ideal recursion uses a level-zero base-net word and at each later level one lower-level approximation to the target plus two approximations to balanced commutator factors (Solovay–Kitaev Unitary Compiler for SU(2)).

[F3]

For residual radius η≤1/16, suitable balanced factors exist with commutator error at most 40η3/2 (A Quantitative Balanced Commutator in SU(2)). For any V,W∈SU(2) within η of I, replacing each by an SU(2) word within η adds at most 5η3/2 to the commutator error (Error Cancellation in an SU(2) Commutator). Step 4.1 establishes the required bounds for the particular factors constructed here.

[F4]

For fixed dimension, dyadic interval routines compute sums, products, quotients, normalizations, square roots, matrix logarithms and exponentials with cost O((p+B+1)max⁡(c,3)) under the stated denominator bounds (Fixed-Dimension Dyadic Matrix Routines Have Polynomial Bit Cost).

[F5]

The logarithm of a near-identity SU(2) matrix is traceless and skew-Hermitian, and its operator norm is its Pauli-vector length (A Quantitative Logarithm Near the Identity in SU(2), Pauli Vector Multiplication and Commutator Formula).

[F6]

Inverse-Closed Dense SU(2) Gate Set: each gate label denotes an exact matrix in SU(2), and the fixed base-net certificate places a listed word within η0/4 of every target in SU(2).

[F7]

exp⁡(x+iy)=ex(cos⁡y+isin⁡y), ∣exp⁡(x+iy)∣=ex, and eiπ+1=0: for real t, eit=cos⁡t+isin⁡t and cos⁡2t+sin⁡2t=1.

[F8]

Sine is differentiable with derivative cosine and sin⁡0=0 (The derivatives of sine and cosine are cosine and minus sine), hence it is continuous; the mean value theorem applies on a closed interval to a function continuous there and differentiable inside (The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a)).

[F9]
[F10]

For b>0, b≠1, log⁡bx:=log⁡x/log⁡b; for x>0 and real t, xt:=exp⁡(tlog⁡x), so (xy)t=xtyt and (xs)t=xst by the logarithm product law and inverse relation; and ⌈y⌉:=−⌊−y⌋, with floor supplied by Integer part: for every real x there is exactly one integer m with m≤x<m+1. The natural logarithm is strictly increasing and obeys log⁡1=0 (The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).

Proof

1.1F1F2F10givenalgebra

Set q0=4096η0<1. The exact error recurrence is ηj+1=64ηj3/2, so for qj=4096ηj we have qj+1=qj3/2 and ηj=2−12q0(3/2)j. Choose fixed integers K,A with q0(3/2)K<1/2 and 2Aq0≥1. Let jN be the least integer with (3/2)jN≥N and set J=K+jN. Then qJ≤2−N≤ε/2, hence ηJ≤ε. Write the encoded rational tolerance as ε=p/q with positive integers p,q. Since q<2sε and p≥1, we have N≤sε+1; binary search over integers 0,…,sε+1 using exact comparisons 2Np≥2q computes N in time polynomial in sε. The integer jN is found by repeated rational multiplication by 3/2; J=O(log⁡N). Put B=12+A⌈(3/2)J⌉, LJ=L05J, and P=64(B+⌈log⁡2(LJ+1)⌉+32). For every j≤J, ηj≥2−B; also B=O(N), log⁡2(LJ+1)=O(log⁡N), and P=O(N). Each routine is requested at precision P or higher, so word-product errors and interval widths are below 2−B−20; in particular, an interval for τj:=ηj/128 has width at most τj/4. Compute these recurrence intervals from the rational η0 using certified square-root and multiplication calls at precision P; since 2−P≤2−B−9, each resulting interval is narrower than ηj/512.

1.2F1F4F6givenconstruct

At level zero, compute certified Frobenius-distance intervals from the target to each word in the fixed base net, and return the first word whose upper endpoint is at most η0. By the base-net certificate in [F6], some word is at operator-norm distance at most η0/4; its Frobenius distance is at most 2 η0/4. Since the fixed dimension is two, the chosen precision P makes the Frobenius-distance interval error less than η0/8, so this word's upper endpoint is below η0. For the selected word, operator norm is bounded by Frobenius norm, giving actual error at most η0.

2.1F4F5F7F8F9step 1.1construct

At a nonbase node of level j, recursively obtain the exact gate word A for the lower-level call and set D=UA∗. Inductively, by [F9], for any unitary Q one has ∥XQ∥=max⁡∥v∥=1∥XQv∥=max⁡∥w∥=1∥Xw∥=∥X∥ because Q maps the unit sphere bijectively to itself; thus ∥D−I∥=∥(U−A)A∗∥=∥U−A∥≤ηj−1<1/2. Use interval routines to enclose X=log⁡D and r=∥X∥ by rational intervals [r−,r+] of width at most τj/4, and compute a rational interval [τj−,τj+] for τj=ηj/128 of width at most τj/4. These intervals are certified; branch by comparing rational endpoints: if r+≤2τj−, return A with no correction. Then r≤r+≤2τj−≤2τj. Since the eigenvalues of the traceless skew-Hermitian X are ir,−ir and D=eX, ∥D−I∥=2∣sin⁡(r/2)∣≤r≤2τj<ηj; here ∣sin⁡t∣≤∣t∣ follows from [F8], the mean value theorem, and [F7]. Otherwise, r+>2τj−. The interval widths imply τj−≥3τj/4 and r−≥r+−τj/4, hence r≥r−>2τj−−τj/4≥5τj/4>τj. Thus the balanced branch has the certified denominator lower bound it needs. The branch comparison uses only rational interval endpoints, not an exact-real comparison with τj or an exact-zero test.

3.1F4F5F7step 2.1algebra

In the balanced branch write X=i v⋅σ, so ∣v∣=r by [F5], and set u=v/r. At least one coordinate satisfies ∣uk∣≤1/3. Compute intervals for ∣u1∣,∣u2∣,∣u3∣ of width at most 1/16, and choose the first whose certified upper endpoint is at most 3/4; one exists since 1/3+1/16<3/4. For its coordinate vector ek, set e=(u×ek)/∣u×ek∣, a=r/2 e, and b=−r/2 (u×e). The denominator is at least 7/4>1/2, so interval normalization is conditioned; also e⊥u, ∣u×e∣=1, and a×b=−(r/2)u=−v/2. Thus, for A0=i a⋅σ and B0=i b⋅σ, the Pauli commutator identity gives [A0,B0]=X. The near-identity bound gives r≤2ηj−1, hence ∥a∥=∥b∥=r/2≤ηj−1. Exponentiating defines exact V=eA0,W=eB0; interval routines provide Cauchy names for these exact child targets. The lower bound r>τj≥2−B−7 from step 2.1 and the cross-product bound show every denominator has at most B+O(1) conditioning bits. For example, with Qa=(a⋅σ)/∣a∣, [F5] gives Qa∗=Qa, Qa2=I, and tr⁡(Qa)=0. Grouping the even and odd terms of the exponential series gives V=cos⁡∣a∣I+isin⁡∣a∣Qa by [F7]. This formula implies V∗V=I; writing Qa=(xzz‾−x), the identity Qa2=I gives x2+∣z∣2=1, and direct determinant calculation then gives det⁡V=cos⁡2∣a∣+sin⁡2∣a∣=1. The same calculation gives W∈SU(2).

4.1F3F5F7F8F9step 2.1step 3.1algebra

Put s=∥A0∥=∥B0∥=r/2≤ηj−1<1/64. The Hermitian involution Qa in step 3.1 has eigenvalues 1,−1, so its displayed exponential formula gives ∥V−I∥=∣eis−1∣=2∣sin⁡(s/2)∣≤s, and likewise ∥W−I∥≤s. Here the scalar exponential product identity follows by multiplying its absolutely convergent series; together with [F7] it gives the sine expression, and [F8] gives the last inequality as in step 2.1. From [F9], applying the vector triangle inequality to unit inputs gives the operator-norm triangle inequality, and ∥YZv∥≤∥Y∥∥Zv∥≤∥Y∥∥Z∥ gives submultiplicativity. Expand eA0eB0e−A0e−B0 in homogeneous degrees: degrees zero, one and two sum to I+[A0,B0]=I+X, and the sum of norms in degree n is at most (4s)n/n! by the multinomial identity. Its remaining tail is therefore at most (4s)3e4s/6<32s3, since 4s<1 and e=∑n≥01/n!<3. Also ∥X∥=∥[A0,B0]∥≤2s2, so ∥eX−I−X∥≤2s4e2s2≤s3; indeed e2s2≤(1−2s2)−1 and 2s/(1−2s2)<1. Since D=eX and V∗=e−A0,W∗=e−B0, these estimates give ∥D−VWV∗W∗∥≤33s3≤40ηj−13/2 for these exact factors, independently of the existential clause of [F3].

5.1F2F3F9step 1.2step 2.1step 4.1

Recursively compile these exact V,W at level j−1, obtaining words V~,W~ within ηj−1 of them. Step 4.1 approximates D by VWV∗W∗ within 40ηj−13/2 and verifies both factor distances required by the cancellation bound in [F3], which adds at most 5ηj−13/2 when V,W are replaced by V~,W~. Since U−(V~W~V~∗W~∗A)=(D−V~W~V~∗W~∗)A and A is unitary, [F9] right-multiplication invariance gives the same error norm. Thus the returned word V~W~V~∗W~∗A approximates U within 45ηj−13/2≤ηj. Together with the small-residual branch and step 1.2, induction proves the claimed error. The recursion has at most three calls per node and each output length satisfies Lj≤5Lj−1, so its expanded length is at most L05J.

6.1F1F2F4step 1.1step 5.1algebra∎

Every exact target in a recursive call is represented by a Cauchy name obtained from its parent using matrix products, logarithms, Pauli coordinates, division by r≥τj, normalization, square roots and exponentials. In the balanced branch the only small square-root radicand is x=r/2>τj/2. Request an enclosing interval of width at most 2−bτj/16 and at most τj/4; its endpoints are then at least τj/4. The identity ∣x−y∣=∣x−y∣/(x+y) bounds the spread of their square roots by 2−b/16. Both width requirements follow from b+O(1+log⁡2(1/τj)) input bits, using the levelwise dyadic lower bound τj≥2−19−A⌈(3/2)j⌉ from step 1.1; no exact square-root comparison is needed to select the precision. Bisect the rational endpoints to b+O(1) output bits as in [F4], costing cubic bit time in the working precision. Use this conditioned routine for r/2. For norms used in normalization, the Lipschitz estimate ∣∥v∥−∥v′∥∣≤∥v−v′∥ in [F4] likewise permits additive input precision; computing the norm of the rational midpoint by square-root bisection needs no further parent query. Each such query uses one parent matrix query at the required guard precision; the query returns all entries together, which the routines reuse. The interval routines have conditioning-bit bound O(1+log⁡2(1/ηj)). The sum of these bounds along a branch is O(B), because log⁡2(1/ηj)≤12+A(3/2)j is geometric. Put r0=max⁡(c,3). Induction through the at most J derived-name layers therefore bounds a query at precision b by O(J(b+B+log⁡LJ+1)r0). At requested precision P=O(N), this is polynomial in N for every node. The finitely many algebraic gate entries are enclosed once by the minimal-polynomial bisection in [F4], in O(P3) time. The recursion tree has at most 3J nodes. After this precomputation, direct evaluation of all word matrices costs at most O(3JJLJP2) bit operations; the remaining fixed-dimensional interval routines and derived target-name evaluations cost at most O(3JJ(P+B+log⁡LJ+1)r0). Since J=O(log⁡N), 5J=O(Nlog⁡3/25) and 3J=O(Nlog⁡3/23), each of these costs, together with reading ε and printing the expanded output, is bounded by O((N+sε)c+10).

Depends on

Used by

Dependency tree · two levels

70 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources