Alphabeta Math
LemmaStatement: Literature-sourcedProof: 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.

Effective Exact Gate Factors for Fixed Local Unitaries

Statement

Fix a positive integer k and a finite collection U of fixed unitary matrices, each on between one and k qubits. Suppose every real and imaginary matrix coordinate has a deterministic Cauchy procedure returning error at most 2−p in time polynomial in p+1. There exist exact no-ancilla one-qubit/CNOT factor lists for all U∈U, with a common constant bound on their lengths, such that every coordinate of every one-qubit factor also has a polynomial-time Cauchy procedure. All scalar phases in the exact matrix products are retained.

The lists and Cauchy programs may depend on the fixed collection U. In particular their finite zero/nonzero decisions and branch choices may be hardcoded. The claim is an existence statement for each fixed machine's finite transition set, not an algorithm that decides equality of arbitrary Cauchy-name inputs. It supplies effective target matrices for finite-precision compilation, not a compiler by itself.

Facts & Assumptions

Given: Fixed k, a finite fixed transition set U, and the coordinate Cauchy programs in the statement.

[F1]

Fixed-Dimension Dyadic Matrix Routines Have Polynomial Bit Cost gives polynomial bit-cost fixed-dimensional sums, products, quotients with a supplied positive divisor lower bound, and nonnegative square roots, including zero. Rational rescaling extends its square-root range [0,1] to any fixed bounded interval.

[F2]

Exact Two-Level Elimination of a Unitary uses finitely many Givens row operations with h=∣a∣2+∣b∣2 when b≠0; Correctness and Termination of Two-Level Elimination proves the exact resulting two-level/diagonal factorization, without discarding phases.

[F3]

Gray-Path Synthesis of a Two-Level Gate implements a two-level block by fixed basis permutations, one pattern-controlled one-qubit block, and inverse permutations, including negative controls.

[F4]

Multicontrolled Unitaries with and without a Clean Work Bit supplies the exact no-workspace square-root recursion for controlled one-qubit matrices. The borrowed-wire controlled-X calls in that recursion have fixed elementary implementations.

[F5]

Exact Controlled One-Qubit Unitary with Two CNOTs implements C(U) by three one-qubit target matrices A,B,C, one control phase, and two CNOTs, using the stated Euler and half-angle formulas.

Proof

1.1givenF1constructalgebra

Fixed finite compositions of polynomial-Cauchy scalars remain polynomial-Cauchy under the operations of [F1], provided each nonzero divisor has a fixed positive lower bound. There are only finitely many scalars in a fixed finite expression tree, so for its nonzero divisors some integer B has ∣z∣≥2−B throughout; B may be hardcoded. A fixed zero is returned as zero. Nonnegative roots are allowed even at zero, and nested roots only multiply the requested precision by a fixed constant at each of finitely many levels. Thus the finite compositions still use polynomial time in p+1. Conjugation merely changes an imaginary sign.

1.2F3F4F5constructalgebra

The path instruction in [F3] is an exact factorization. Each prescribed pattern-controlled X exchanges precisely the adjacent path labels gj,gj+1 and fixes every other computational-basis label, because its n−1 controls must match the common bits. Let P be the permutation effected by the swaps in their stated order. Then P(x)=gd−1 and P(y)=y=gd. The middle block, with the stated block reversal when the target bit of gd−1 is 1, acts by V on the ordered pair (gd−1,gd) and fixes its complement. The complete chronological list therefore has matrix P∗MP, where M is that middle block. Since P is a permutation and maps x,y to the selected pair, no other basis label maps into that pair; the conjugate acts by V on (x,y) and fixes every other basis vector. The controlled-gate expansions are exact by [F4] and [F5], and the negative-control conjugations retain their exact matrices. Thus every two-level factor used here is exactly the one specified by [F3], including its scalar phase.

2.1step 1.1F1constructalgebra

A square root of any fixed polynomial-Cauchy unit scalar u can also be selected polynomially. Choose a fixed ζ∈{1,−1,i,−i} with Re⁡(ζu)≥1/2; such a choice exists because the larger absolute coordinate of a unit complex number is at least 1/2. Put v=ζu and a=(1+Re⁡v)/2, b=Im⁡v/(2a). Then a≥3/2 and (a+ib)2=v. Multiply by either fixed algebraic square root of ζ−1 and choose its fixed sign to obtain either desired root of u. Step 1.1 applies with a positive constant denominator. Iterating gives any fixed finite tower of coherently chosen phase half-roots. A root of a fixed nonzero complex scalar z is obtained by first normalizing z/∣z∣ and multiplying its unit root by ∣z∣; the zero case is hardcoded separately.

2.2givenF2step 1.1constructalgebra

For each U∈U, run the finite algebraic Givens construction [F2] as a mathematical factorization. Hardcode its actual finite skip decisions b=0; no run-time zero test on a varying Cauchy name is required. In each unskipped operation h>0 is a fixed constant, so all entries of that Givens matrix and the updated matrix are polynomial-Cauchy by step 1.1. There are at most 2k(2k−1)/2 operations, a constant. The terminal diagonal entries and the exact two-level adjoints therefore have polynomial-Cauchy entries. A phase on one chosen computational word is a pattern-controlled diag⁡(1,λ) or diag⁡(λ,1) on a selected wire, with the other wires matching that word; hence the terminal diagonal is a fixed finite product of pattern-controlled one-qubit matrices of the same effective class.

3.1F4F6step 1.1step 2.1step 1.2algebraconstruct

The square roots required by [F4] preserve this effective class. For a fixed two-dimensional unitary W, if W=λI choose a unit root μ by step 2.1 and take μI. Otherwise the spectral theorem [F6] gives two distinct eigenvalues. The nonzero discriminant d0=(tr⁡W)2−4det⁡W has a root d as in step 2.1, and λ±=(tr⁡W±d)/2 have modulus one. The projector P+=(W−λ−I)/(λ+−λ−) and P−=I−P+ are orthogonal by [F6]. Choose unit roots μ± and put V=μ+P++μ−P−. Then V is unitary, V2=W, and every entry is polynomial-Cauchy by step 1.1 and step 2.1. The scalar/nonscalar branch and the positive eigenvalue-gap lower bound are fixed choices, not input-dependent equality decisions.

3.2F5step 1.1step 2.1constructalgebra

The constant one-control construction [F5] is effective as well. Choose a unit root λ of det⁡W by step 2.1 and normalize S=λ−1W∈SU(2). Write S=(a−c‾ca‾) and ρ=∣a∣, σ=∣c∣. If ρ>0 use a/ρ for its phase, otherwise fix its arbitrary phase to 1; treat c/σ the same way. Choose fixed real arguments γ,η with a=e−iγρ and c=eiησ, and choose 0≤θ≤π with cos⁡(θ/2)=ρ, sin⁡(θ/2)=σ. These are only notation: the algorithm never computes their real arguments. Every matrix entry of the Euler factors and of A,B,C in [F5] is a finite sum or product of the unit phases and their coherently selected half-roots, together with ρ,σ, (1+ρ)/2 and (1−ρ)/2. Indeed the latter are cos⁡(θ/4),sin⁡(θ/4); the z-rotation entries are exponentials of half-angles of α=γ+η and β=γ−η, hence phase roots from step 2.1. Choose their fixed signs to match these displayed arguments. Thus all four arbitrary one-qubit matrices in the exact controlled construction are polynomial-Cauchy; their multiplication retains the control phase diag⁡(1,λ) exactly. No numerical angle oracle is assumed.

4.1F2F3F4F5step 2.2step 1.2step 3.1step 3.2construct∎

Apply the Gray-path implementation [F3] to each two-level block from step 2.2, and apply the no-workspace recursion [F4] to its pattern-controlled gates and to the diagonal phase gates. Negative controls and permutation gates have fixed algebraic entries. Each root step stays in the effective class by step 3.1 and each controlled base case does so by step 3.2. The number of controls, recursion depth, blocks, and elementary gates is bounded by a constant depending on k and the finite fixed collection. Therefore only finitely many branch choices and divisor lower bounds are needed in total; hardcode them and the corresponding polynomial-Cauchy programs into the simulator. Exact factorization follows from step 1.2 and step 3.1 and step 3.2 and [F2]–[F5], including each scalar phase; the resulting gate factors and lengths have precisely the asserted properties.

Depends on

Used by

Dependency tree · two levels

33 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