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

Exact Gray-code synthesis of multiplexed y- and z-axis rotations

Statement

For k≥0 controls and real angles θx indexed by x∈{0,1}k, let Ma=∑x∈{0,1}k∣x⟩⟨x∣⊗Ra(θx),a∈{y,z}, where Ry(θ)=R(0,1,0)(θ) and Rz(θ)=R(0,0,1)(θ) use the exact exponential convention of Exact one-qubit gates and rotations. There is an exact finite circuit for Ma on the same k+1 wires, using arbitrary one-qubit rotations and CNOT gates and no ancillas. For k=0 it is one rotation and no CNOT; for k>0 it uses 2k target rotations and 2k CNOTs. The circuit uses exact real angle labels; no finite-bit encoding or synthesis-time bound is asserted.

Facts & Assumptions

Given: A finite ordered control register, one target qubit, real angles θx, and the specified exact y- or z-axis rotation family.

[F1]

The exact one-qubit convention is Rn(t)=exp⁡(−it n⋅σ/2); X,Y,Z are the displayed Pauli matrices. Thus Ry(t)=(cos⁡(t/2)−sin⁡(t/2)sin⁡(t/2)cos⁡(t/2)),Rz(t)=diag⁡(e−it/2,eit/2). (Exact one-qubit gates and rotations, The Pauli matrices, Pauli formula for an axis rotation)

[F2]

A CNOT with control wire r and target wire t maps a basis word by t↦t⊕r; circuit products follow the chronological gate order (CNOT and Control-Target Order, Denotational semantics of a finite layered circuit).

[F3]

The finite product basis is indexed by ordered bitstrings, and gates may be embedded on a specified ordered list of distinct wires (Big-endian encoding of ordered bit strings, Ordered tensor registers, their inner product, and wire permutations, Finite circuit syntax and ordered wire labels, A local gate has a unique global wire embedding).

[F4]

The operation count is the number of occurrences from the declared finite gate alphabet; for each fixed instance, the finitely many exact rotation matrices and CNOT may be listed as that alphabet (Finite circuit resource accounting, Finite circuit syntax and ordered wire labels).

Proof

1.1givenF3constructalgebra

For k>0, put m=2k and, for 0≤j<m, write j as a k-bit word and set pj=j⊕⌊j/2⌋. In the arithmetic on these masks, bit r=0 is the least significant bit and controls are assigned to wires in reverse display order, as allowed by [F3]. In this proof, a control word x is written in that same least-significant-first order, so it denotes the displayed register word (xk−1,…,x0) and θx is the angle assigned to that displayed word; this is only a fixed reindexing of the finite branch set. The map is bijective: from pk−1=jk−1 and pr=jr+1⊕jr one recovers the bits jr in descending order. Consecutive words pj−1,pj differ in exactly one coordinate: incrementing j−1 flips its trailing ones and the first zero, so in the Gray word all changed adjacent-bit XORs cancel except the bit at position ν2(j), where ν2(j) is the largest r such that 2r divides j. Also p0=0 and pm−1=10⋯0, so the return from pm−1 to p0 changes one coordinate. Thus these words give a cyclic Gray traversal of all masks.

2.1givenstep 1.1algebra

Set βj:=2−k∑y∈{0,1}k(−1)pj⋅yθy. For each fixed x, bijectivity of j↦pj gives ∑j=0m−1(−1)pj⋅xβj=2−k∑yθy∑p∈{0,1}k(−1)p⋅(x⊕y)=θx. Indeed, the inner sum factors as ∏r=0k−1(1+(−1)xr⊕yr), equal to 2k when x=y and zero otherwise.

3.1F1F2F3F4step 2.1algebracases∎

Write δj=pj−1⊕pj for 1≤j<m, and δm=pm−1⊕p0 for the return toggle. For a fixed control word x, the circuit matrix on the target is Xδm⋅xRa(βm−1)Xδm−1⋅xRa(βm−2)⋯Ra(β1)Xδ1⋅xRa(β0). The target-flip parity before rotation j is pj⋅x. Direct multiplication of the matrices in [F1] gives, for both a=y,z, XRa(t)X=Ra(−t) and Ra(s)Ra(t)=Ra(s+t). Moving each X factor leftward through the preceding rotations gives angle sign (−1)(δj+1⊕⋯⊕δm)⋅x=(−1)pj⋅x on Ra(βj), because the cyclic toggle sum is zero and pm=p0=0. No X remains at the end. The rotations then combine to Ra(∑j(−1)pj⋅xβj)=Ra(θx) by step 2.1. The circuit consequently agrees with Ma on every control basis subspace, and linearity gives equality on the whole register. It has m rotations and m CNOTs. For k=0 the sole term is Ra(θ∅) and needs no CNOT.

Depends on

Used by

Dependency tree · two levels

42 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