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.

Gray-Code Synthesis of a Multiplexed Axis Rotation

Statement

Let k≥0 controls have computational labels x∈{0,1}k, and let θx∈R. Fix a∈{x,y,z}. On one target qubit define M=∑x∈{0,1}k∣x⟩⟨x∣⊗Ra(θx),Ra(t)=exp⁡(−itσa/2). Then M is exactly synthesized with 2k CNOTs for k>0 (the final CNOT restores the parity network). For a=y,z it uses 2k target rotations Ra(βj); for a=x it uses 2k Ry rotations in the fixed target basis described below; for k=0 it is one rotation and no CNOT. For a=x and k>0 the implementation also uses two fixed target basis-change gates; the y,z implementations need none. One may replace the cyclic Gray traversal by a traversal that omits the final restoration and absorb that final parity into the next block only when that block is explicitly specified.

Facts & Assumptions

Given: The real angles (θx), the computational-basis order on the controls, and the rotation convention Ra(t)=exp⁡(−itσa/2). For a control bit xr and target bit b, define CNOTr→t∣x,b⟩=∣x,b⊕xr⟩, extending linearly; its matrix is a permutation and is self-inverse.

[F1]

Big-endian encoding of ordered bit strings: the ordered n-qubit basis assigns bit word x the big-endian index enc⁡n(x)=∑r<nxr2n−1−r, so the first wire is the most significant bit.

[F2]

Pauli formula for an axis rotation: Rn(t)=cos⁡(t/2)I−isin⁡(t/2)(n⋅σ) for real unit n.

[F3]

The Pauli matrices: Y=(0−ii0) in the ordered computational basis.

[F4]

CNOT and Control-Target Order: the first-wire-control CNOT maps ∣a,t⟩ to ∣a,t⊕a⟩ and is self-inverse.

[F5]

Denotational semantics of a finite layered circuit: later-applied gates multiply on the left of earlier gates in the circuit denotation.

[F6]

Finite circuit resource accounting: the declared gate count is the number of occurrences from the operation model's allowed alphabet.

[F7]

The computational basis is orthonormal: the ordered computational basis is orthonormal.

Proof

1.1givenF1choosealgebra

For k>0, construct the reflected list G1=(0,1) and Gk=(0Gk−1,1rev⁡(Gk−1)) for k≥2. Induction shows that each mask occurs once, adjacent masks differ in one coordinate, and the last mask differs from the first in one coordinate. Enumerate these 2k masks as pj, beginning at p0=0. For k=0, take the singleton list containing the empty mask and use no coordinate transition. Set Hxj=(−1)pj⋅x and choose βj=2−k∑yHyjθy. For z=x⊕y, summing over all masks factors as ∑p(−1)p⋅z=∏r=0k−1(1+(−1)zr), which equals 2k when z=0 and 0 otherwise. Substituting the chosen βj therefore gives ∑jHxjβj=θx.

2.1step 1.1F2F3F4F5F6F7algebra

Assume k>0. Substitute n=(0,1,0) in [F2] and use [F3]; this gives Ry(t)=(cos⁡(t/2)−sin⁡(t/2)sin⁡(t/2)cos⁡(t/2)). Apply Ry(β0), then toggle the single control coordinate taking p0 to p1 with a CNOT and apply Ry(β1), continuing through p2k−1 and using one final CNOT to restore mask 0. On a fixed control basis state ∣x⟩, the accumulated target bit flip before the jth rotation is pj⋅x modulo two by [F4]. The CNOT network consists of basis permutations and hence is unitary by [F7]. Conjugation by X gives XRy(t)X=Ry(−t) by direct multiplication of the displayed matrix, so that rotation acts as Ry((−1)pj⋅xβj). Its ordered application agrees with [F5], and [F6] counts these gate occurrences.

3.1step 1.1step 2.1F2F3algebra

Direct multiplication of the Ry matrices from step 2.1 gives Ry(s)Ry(t)=Ry(s+t). Thus on branch x the target product is Ry(∑jHxjβj)=Ry(θx) by step 1.1. The final CNOT returns the parity network to zero and hence leaves no extra control-dependent permutation. This proves the exact block action for every computational branch; linearity proves it on every superposition. For k=0, there is one branch and the circuit is just Ry(θ0).

4.1step 1.1step 2.1step 3.1F2algebra∎

For a=z, use exactly the same masks and angles with Rz in place of Ry: the diagonal formula Rz(t)=diag⁡(e−it/2,eit/2) gives XRz(t)X=Rz(−t) and Rz(s)Rz(t)=Rz(s+t), proving the same branch calculation. For a=x, put B=Rz(−π/2). Direct Pauli multiplication gives BYB∗=X, hence BRy(t)B∗=Rx(t) by [F2]. Conjugate the entire y circuit by the two target gates B∗,B in chronological order. Its branch action is BRy(θx)B∗=Rx(θx). This implementation retains the original y network unchanged between the two external basis changes, so it has exactly 2k CNOTs, 2k Ry rotations, and those two additional one-qubit gates. For k=0, directly apply Ra(θ0).

Depends on

Used by

Dependency tree · two levels

31 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