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.

H-count and T-count optimality of exact Clifford+T synthesis

Statement

Use G={H,T,T†,S,S†,X,Y,Z}, with scalar phase ignored. Count each H as one Hadamard and each T or T† as one T gate; S,S†,X,Y,Z have zero H/T count. Let h(U) and t(U) be the separate minima. For U∈M2(D) unitary with n=sde⁡(∣U00∣2)≥4, the exact synthesis algorithm, including its final reduced-word pass, attains both minima and

h(U)=n−1,t(U)=h(U)+1−(ℓ mod 2)−(j mod 2),

where ℓ,j are any integers satisfying h(HTℓUTjH)=h(U)+2. Such integers exist. Equivalently, if the reduced word has endpoint diagonal exponents a,c, then t(U)=h(U)−1+(a mod 2)+(c mod 2). With canonical binary coefficient encoding the algorithm uses O(nopt+1) ring operations and O((nopt+1)2) bit operations, where nopt is the minimum total H/T count.

More generally, every reduced word with h≥1 Hadamard gates and endpoint diagonal exponents a,c is T-optimal, with t=h−1+(a mod 2)+(c mod 2), including the h=1,2 cases.

Facts & Assumptions

Given: The gate family and costs in the statement, and canonical exact coefficient input.

[F1]

Reduced Hadamard words and their exact denominators supplies a linear-time, resource-nonincreasing exact reduction and its H-optimality invariant.

[F2]

Exact single-qubit Clifford+T synthesis uses denominator descent, a fixed finite base table, and the final reduction pass.

[F3]

Clifford+T denominator descent and finite base table supplies one-step descent and complete finite base preparation.

[F4]

Finite coefficient bounds for the scaled cyclotomic grid bounds scaled numerator coefficients by 2k/2 when all embeddings of the entry have modulus at most 1.

[F5]

Squared entry denominator bound gives sde⁡(∣z∣2)∈{2sde⁡(z),2sde⁡(z)−1}.

Proof

1.1F1F2F3givenalgebra

By [F2,F3], before the final reduction the compiler has an exact word for U. By [F1] its final reduced word is exact and H-optimal, and n≥4 makes its H count h=n−1. Write its endpoint exponents a,c and its trailing Pauli factor Xe as in [F1]. Each of the h−1 odd interior powers costs one T, so its T count is h−1+p(a)+p(c), where p(r)=r mod 2∈{0,1}.

1.2F1algebra

Every Clifford block generated by H,S,X,Y,Z reduces by [F1] to at most one H: all diagonal exponents remain even during that reduction. Splitting any word containing t T gates into t+1 Clifford blocks therefore proves h(V)≤t(V)+1 for every represented V. This argument applies to T† equally.

1.3F2F3F4F5algebra

There are n−3 descent iterations and a constant-size base lookup. Each trial uses boundedly many coefficient additions, sign permutations, multiplications by fixed ring constants, and denominator tests. At every iteration all embeddings of the current unitary remain unitary, so all embedded entries have modulus at most one. For a positive squared-entry exponent, the complementary squared norm has the same exponent: subtracting its primitive numerator from the positive power of 2 leaves it primitive. Thus [F5] bounds every entry exponent by (n+1)/2; the base regime is bounded by [F3]. By [F4] all numerator coefficients have O(n+1) bits. Denominator tests need no integer multiplication: for x=a0+a1ω+a2ω2+a3ω3≠0, let m be the minimum of the binary trailing-zero counts of its nonzero coefficients, and put y=x/2m. Its 2-valuation is 2m+δ, where δ=1 exactly when both opposite-coefficient sums of y are even. Indeed y is not divisible by 2, so it can contain at most one factor 2. For the resulting primitive numerator z, its norm has zero or one factor 2 by [F5]; this factor occurs exactly when ∑zi is even, since the rational coefficient of zzˉ is ∑zi2. These parity and trailing-zero scans take O(n+1) bit operations. Every descent trial therefore costs O(n+1) bits and boundedly many ring operations, with coefficient valuations counted as linear binary scans.

2.1F1step 1.1algebrachoose

Choose ℓ and j with a+ℓ and c−j odd. Then HTℓUTjH has an odd-interior reduced word with h+2 H gates: commute Xe past TjH using the identities in [F1], which changes only the sign of j and adds a free terminal Z when e=1. Its H count is therefore minimal. Conversely if either parity condition fails, the adjacent even-interior pair reduces, giving strictly fewer than h+2 H gates. Thus the extension condition is equivalent to p(ℓ)=1−p(a) and p(j)=1−p(c).

3.1step 1.1step 1.2step 2.1algebra

Apply step 1.2 to the extended matrix V=HTℓUTjH. Multiplication by these endpoint factors gives t(V)≤t(U)+p(ℓ)+p(j), while h(V)=h+2 gives t(V)≥h+1. Consequently t(U)≥h+1−p(ℓ)−p(j)=h−1+p(a)+p(c). Step 1.1 attains this bound, proving simultaneous optimality and both formulas. The same argument proves the endpoint formula for every reduced word with at least one H, since its extension still has at least three H gates and [F1] applies.

4.1F1step 1.1step 3.1step 1.3algebra∎

The initial word has O(n+1) gates and its stack reduction is linear by [F1], retaining only exponents modulo eight and a scalar exponent modulo eight. The preceding bounds give O(n+1) ring operations and O((n+1)2) bit operations overall. Any word's total H/T count is at least h(U)=n−1; the output has h+t≤2h+1=O(n+1) by step 1.1. Hence n+1=Θ(nopt+1), proving the claimed bounds.

Remarks

Appendix B prints h−1+p(ℓ)+p(j) with the same extension condition. Its endpoint parities are complemented, so that printed formula must be corrected as above. For example U=HTHTH has h=3,t=2; odd ℓ,j extend it to a reduced five-H word. The printed formula would give 4. No optimal base-circuit table or unexpanded endpoint case analysis is needed for the local proof.

Depends on

Used by

Dependency tree · two levels

29 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