Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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 binary QFT circuit correctness

Statement

For every n≥0, the exact binary circuit of Exact binary QFT circuit implements Positive-sign cyclic quantum Fourier transform at N=2n: it maps each computational basis vector ∣x⟩, 0≤x<2n, to

2−n/2∑y=02n−1e2πixy/2n∣y⟩,

with the declared output register order. Hence its denotation is QFT⁡2n on every state. Reversing the gate list and replacing every gate by its adjoint gives the negative-sign inverse QFT with the same ideal gate count.

Facts & Assumptions

Given: An integer n≥0, an n-wire ordered computational register, and the exact circuit of Exact binary QFT circuit.

[F1]

On a basis input x=∑ixi2i, the QFT output factors as R0⊗⋯⊗Rn−1 in the ordered output wires; before the final reversal it is Rn−1⊗⋯⊗R0 (Binary factorization of QFT basis output).

[F2]

H=2−1/2(111−1) and CPs=diag⁡(1,1,1,e2πi/2s) in control-first basis order; the ideal model also counts CPs†=diag⁡(1,1,1,e−2πi/2s) as one gate (QFT ideal and finite-set gate-cost models).

[F3]

Ordered tensor factors retain the displayed wire order, and the final wire permutation reverses the corresponding product-basis factors (Ordered tensor registers, their inner product, and wire permutations).

[F4]

A ket denotes its vector and standard coordinate kets are the corresponding coordinate vectors (Dirac Notation Conversion).

[F5]

Inverse access to a chronological unitary list reverses the order and replaces each gate by its adjoint (Inverse Unitary Access).

[F6]

A unitary on a specified ordered tuple of wires has a unique unitary global embedding that acts as that unitary on those wires and as the identity on the others (A local gate has a unique global wire embedding).

[L1]

The positive-sign QFT is the inverse of the negative-sign unitary DFT, so its inverse uses the negative-sign convention (Positive-sign cyclic quantum Fourier transform).

[A1]

Denotational semantics of a finite layered circuit identifies the chronological gate list with the right-to-left product of its embedded gate operators.

Proof

technique · direct

Given: The basis input and circuit above.

1.1givenF1F2F3F4F6A1algebra

If n=0, the exact algorithm has no gates, so [A1] gives the identity on the one-dimensional register; by [F1], QFT⁡1 is also the identity. Thus the claimed basis action holds in this case. Now suppose n≥1 and fix a basis input ∣xn−1⋯x0⟩. In the descending loop, before the step targeting qj, every lower wire qi with i<j is still in its original basis state ∣xi⟩: earlier gates targeted only higher wires, and the lower wires occur only as controls, which the diagonal controlled-phase matrix in [F2] leaves unchanged. The local embedding action [F6] therefore leaves those control bits unchanged. The Hadamard on qj contributes relative phase (−1)xj=e2πixj/2, while the controlled phases from lower controls contribute e2πi∑i<jxi2−(j−i+1). Thus target qj has state Rj. The state before the final swaps is Rn−1⊗⋯⊗R0. The tensor order and coordinate-ket convention are [F3] and [F4]; interpreting this finite gate trace as the circuit's operator product requires [A1].

2.1givenF1F3A1step 1.1algebra

For n≥1, the final swaps reverse those ordered factors by [F3], producing R0⊗⋯⊗Rn−1; [F1] identifies this with the positive-sign Fourier output on ∣x⟩. Together with the n=0 case established in step 1.1, the circuit agrees with QFT⁡2n on every basis vector.

3.1givenF2F4F5L1A1step 2.1∎

Both the circuit denotation and QFT⁡2n are linear operators by [A1], so equality on the standard basis [F4] implies equality on every finite linear combination of basis vectors. Reversing the gate sequence and taking adjoints is its inverse by [F5]; the reverse list has the same number of gates, and each adjoint is still a Hadamard, controlled phase of opposite angle, or SWAP. The adjoint controlled phases have unit ideal cost by [F2], so the inverse QFT has the same ideal gate count and uses the negative-sign convention by [L1].

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