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.
T-count guarantees for Clifford+T Rz synthesis
Statement
For the ancilla-free, on-the-nose problem with , the procedure first returns its zero-T Clifford whenever . In the remaining range , it has the following guarantees with its exact-real comparison and norm-solver assumptions.
- In complete mode with a factoring oracle and a complete factorization-based solver for , the first successful candidate yields a circuit of minimum T-count among all one-qubit Clifford+T circuits satisfying the operator norm bound. The direct branch for is also optimal because it has T-count zero.
- In bounded-factorization mode, for , under Ross–Selinger Hypothesis 8.3, interpreted quantitatively as [A1] below, if is the returned T-count and is the second-smallest T-count among non-equivalent feasible solutions, then the expected number of non-equivalent feasible solutions of T-count strictly below is , and as . Both expectations include the arithmetic-instance randomness of [A1]; is almost surely defined and integrable in this range. If is deterministic in the chosen model, its expectation is simply . For , the direct branch returns , so there are no feasible solutions of smaller T-count and the same mean bound is immediate whenever is defined.
- For , with the efficient iterator and calibrated capped-prime implementation specified below, the expected arithmetic-operation time is . In the range , the direct branch takes constant arithmetic work. These are not bit-time bounds for arbitrary unencoded real inputs.
Two determinant-one solutions are equivalent when their upper-left entries agree; the T-count of a class is the least count attained in that class. The nontrivial near-optimality assertion concerns the unbounded candidate stream, without a finite total candidate budget. The source's notation is used here only in the upper bound sense of its Proposition 8.8. In the explicit random-arithmetic model [A1], the second-best class is random as well, so its count must also be averaged. No lower bound relative to that class is asserted.
Facts & Assumptions
Given: The exact-real comparisons, the procedure in Ancilla-free Clifford+T Rz approximation, and the displayed input.
The Rz approximation procedure is correct when it returns gives correctness for all and successful termination in COMPLETE mode with an unbounded candidate limit, valid complete factorizations when required, and terminating exact-real operations (almost surely for the efficient randomized norm mode).
Determinant-one reduction for optimal Rz approximation: below all feasible matrices have determinant one; at or above a determinant-one Clifford solution of T-count zero exists.
Denominator exponent and optimal T count for determinant-one unitaries supplies the following interface: for a feasible candidate of least exponent and any solution , the smaller optimal T-count of and is , and no matrix in its -class has count below .
Exponent growth of the Rz scaled grid supplies the increasing distinct candidate sequence, , and .
Size and residue of the Rz candidate norm integer: a candidate's reduced integer is nonnegative, is zero or , and satisfies . Its two disk inequalities also give for the residual .
Prime norm numerators congruent to one modulo eight are solvable: double positivity and prime or imply solvability of the norm equation.
Conditional stopping bounds for prime-tested Rz candidates proves all fixed stopping-time moments and the logarithmic expectation bound from a joint-failure product estimate; independence of actual solver successes is not required.
Complete scaled-grid enumeration with expected polynomial prefix cost gives the default iterator's finite-layer completion and all fixed prefix-work moments. The second moment through global outputs is polynomially bounded in , , and : completed layers contain at most earlier outputs and at most layers, while the current layer has the displayed prefix-moment bound.
Efficient exact cyclotomic norm solving with a supplied integer factorization gives a complete expected-polynomial solver with a valid supplied factorization, including polynomial cost in the candidate exponent on these bounded grid inputs.
H-count and T-count optimality of exact Clifford+T synthesis gives exact optimal compilation with polynomial coefficient cost. The fixed small-exponent base cases are covered by the same compiler's finite lookup and reduction.
Certified capped norm attempts succeed on prime residuals proves that the calibrated capped prospective prime attempts accept only exact certificates, have polynomial cost on every candidate, and succeed with probability at least on an actual prime numerator. Zero/unit numerators have explicit complete branches. Conditioning on all arithmetic data makes the calls independent in their fresh solver bits; averaging gives the joint-failure product bound from independent modelled prime indicators, without asserting unconditional independence of the actual successful calls.
The nontrivial real-conjugation automorphism of the eighth cyclotomic field: is a field automorphism of preserving . In particular it is injective: applying its inverse to gives .
Quantitative prime model: clauses 2--3 adopt an idealized stochastic model of candidate arithmetic in the sense of Ross--Selinger Hypothesis 8.3. The iterator and solver coins are drawn independently of the underlying modelled arithmetic instance, and solver streams are independent of one another. For each fixed enumerator/tie-choice framework, the model assumes that the indicators of prime or zero/unit norm numerators are independent, with probabilities , for a constant uniform in the input and tie choices. Other numerical data can be correlated. This is a model assumption before conditioning on all numerical candidate data; after those data are fixed, primality is fixed too. In particular, fixing an actual input and drawing iterator bits does not make its integers random or prove this hypothesis. The expectations in clauses 2--3 refer to this explicit idealized arithmetic model together with the algorithmic coins. The uniform lower bound is the quantitative reading of Hypothesis 8.3 used here; [F5] gives for . Zero/unit cases succeed outright. The model is not an established number-theoretic theorem about each deterministic input stream.
For the probabilistic and runtime clauses use the efficient scaled-grid iterator and the calibrated capped-prime branch of the stated procedure, with fresh independent bits at each norm call and no finite total candidate limit. Bounded mode makes no extra factor-suggestion attempt. Complete mode instead supplies valid complete factorizations and uses the complete efficient solver. Every returned matrix is compiled by the optimal local exact compiler. The range returns before either iterator or norm solver is called; its exact integer-part operation is counted as one arithmetic operation.
Proof
If , the direct branch from [F2] returns a feasible zero-T Clifford, which is globally optimal by nonnegativity of T-count. Suppose instead . Then [F1] gives a first solvable candidate in COMPLETE mode. Since the stream is ordered by exponent and the solver is complete, its exponent is the least exponent of any solvable candidate. By [F3], taking the smaller compiled count returns , the minimum across determinant-one feasible classes, because is nondecreasing. By [F2] this is the global minimum.
If , the direct branch returns , so no feasible solution has T-count below and the expected lower-count is zero; also whenever is defined. Suppose . For the bounded-factorization branch let be the first successful mandatory prime-attempt index, using preassigned fresh bit streams along the candidate sequence. For each enumerator/tie-choice framework, condition first on all its arithmetic data . By [F11], . Averaging over the arithmetic model [A1] gives . This uses independence of the modelled indicators only; actual successful calls may be correlated after averaging over numerical inputs. The procedure succeeds no later than . Apply the joint-failure version of [F7], with replaced by : is finite almost surely, , and . All constants are uniform in the iterator tie choices, so these bounds survive averaging over its coins.
By [F3], the returned count satisfies . Every feasible class of count below therefore has exponent strictly below , since its class minimum is and is nondecreasing. By [F2] these classes cover all feasible solutions. Distinct classes have distinct candidates and occur before index , so their number is at most . Taking expectations proves the lower-count solution bound.
The model has infinitely many prime or zero/unit candidates almost surely. Indeed, for each integer , the growth bound [F4] implies that for every sufficiently large , . These block lower bounds imply . Independence in [A1] gives . Thus with probability one good indices occur after every finite , so there are infinitely many. By [F5], each candidate has . If , then in the field gives or . The latter also implies by [F12], so the solver returns . If or is prime, then makes both embeddings strictly positive; for prime , [F5] gives , so [F6] makes the norm equation solvable. Distinct candidates give distinct -classes, so the best and second-best feasible classes exist almost surely. Choose the best and second-best feasible classes, breaking equal-count ties by increasing exponent, and let their exponents be and . Since their class counts are and is nondecreasing, this choice has . The two classes are distinct candidates, so . By [F3,F4], . To check integrability of the benchmark, use the deterministic bound from [F4], and let be the second index with . If each of the blocks and contains a good index, then . By [A1,F4] and the same failure-product bound, The tail comparison in [F7] gives finite moments of . The first two good indices give two feasible classes, so by [F3], and [F4] makes integrable. Also is integrable by step 1.2. Taking expectations of the pathwise inequality and applying step 1.2 now gives , which is the stated asymptotic bound.
If , the direct branch takes constant arithmetic work, including one exact integer-part operation and reducing exponents modulo . Suppose . Write for the iterator work through its th global candidate, with no norm calls interleaved. The exponent sequence depends only on the number of distinct candidates in each layer, so it is unchanged by the iterator's randomized tie order. By [F4,F8], for some fixed , . The joint-failure estimate of step 1.2 and [F7] give the stopping tail uniformly for each enumerator/tie-choice framework in [A1], hence also after averaging over the independent iterator coins: , with and fixed . Cauchy--Schwarz, applied separately to each event , therefore gives . For completeness, the product bound follows by expanding the nonnegative expectation of with and ; if either second moment vanishes its term is zero. This sum is polynomial in . Indeed, for the tail proof of [F7] bounds its exponential factor by ; bound logarithms by powers of and compare the resulting polynomial-times-exponential sum with its integral, using . The part is also polynomial. Thus no independence between iterator delay and is assumed.
In capped mode [F11,A2] bound all candidate work through by , plus the successful exact compilation. In oracle mode take to be the first prime/zero/unit model index, which has the same tail and moment bounds and is solvable by [F6]. Then [F9] supplies the same bound in conditional expectation: condition on the preceding history before each call, and sum its uniform polynomial expected bound over the calls that are reached. Integer-factor oracle calls cost one operation; their factorization outputs have polynomial length by [F5]. The stopping bounds [F4,F7] make the expectation of these polynomial expressions finite and polynomial in . By [F3,F10], successful exact compilation also has polynomial cost in : its entry denominators are at most and squared-entry exponent at most , with only finitely many small cases. Combining this with step 2.3 proves the expected polynomial arithmetic runtime for the actual efficient implementations. It includes charged exact-real arithmetic and comparisons, but supplies no bit-time guarantee for unencoded real parameters.
Remarks
The complete coefficient-box iterator and divisor-search norm solver remain valid alternatives for completeness. Their costs are not used in the expected polynomial bound. Capped prospective executions never infer unsolvability from an unproved prime promise: only a verified exact norm certificate is accepted. The candidate-primality model remains an explicit number-theoretic hypothesis.
Depends on
- Ancilla-free Clifford+T Rz approximation
- The Rz approximation procedure is correct when it returns
- Every Rz epsilon region contains an exact norm-solvable grid point
- Determinant-one reduction for optimal Rz approximation
- Denominator exponent and optimal T count for determinant-one unitaries
- Exponent growth of the Rz scaled grid
- Conditional stopping bounds for prime-tested Rz candidates
- Size and residue of the Rz candidate norm integer
- The nontrivial real-conjugation automorphism of the eighth cyclotomic field
- Prime norm numerators congruent to one modulo eight are solvable
- Complete scaled-grid enumeration with expected polynomial prefix cost
- Efficient exact cyclotomic norm solving with a supplied integer factorization
- H-count and T-count optimality of exact Clifford+T synthesis
- Certified capped norm attempts succeed on prime residuals
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
57 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
- Ross and Selinger, Optimal ancilla-free Clifford+T approximation of z-rotations (standard reference, not scraped)