15.2 Phase Kickback and the Binary Gears of the QFT
Whereas Grover’s algorithm rotates states in a real two-dimensional plane, the Quantum Fourier Transform (QFT) and phase estimation wind relative phases around equatorial circles like meshed binary gears (Figure 15, Panel II).
A row of gears, each half as fast. with the single cell : each cell along the rail turns the three violet gears by , and of a turn, and at they rest at , and ; frequency uses all three, and the one cyan arrow of the chain points at their sum, . The spectrum is flat, every bar . The actual circuit’s positive-exponent action is given by Theorem 15.3; these animated gears illustrate its label convention.
At the algebraic foundation of phase kickback lies the conjugation law of discrete Weyl shift and clock operators on ( with [NeZero M]). In WeylDisplacementConjugation, with , the building blocks on are:
- The diagonal clock matrix ;
- The cyclic shift matrix , acting on column vectors by ;
- The Weyl displacement operator ().
Conjugating one displacement operator by another kicks back a symplectic root-of-unity phase, as proved in the next lemma.
Let with [NeZero M]. For all ,
Write and . Unitarity of and implies . Commuting past and via and accumulates the net phase , while the remaining cancels to . The full proof is checked by the Lean kernel.
Conjugation leaves only a phase, set by the area the two displacements span. Take . On the left is the lattice , horizontally the number of shifts , vertically the number of clock steps ; the two cyan arrows and span a magenta parallelogram of oriented area . On the right is a phase clock with positions; the amber hand rests on , since (Lemma 15.2). Reading the exponent as minus the oriented area is only a geometric reading of the determinant ; the position of the hand is checked directly with matrices.
Three details of Lemma 15.2 should be noted:
- Subtraction in precedes
.val: The exponent is computed by subtracting from inside first and then taking its natural-number representative.valin . - Conjugate transpose
starand the positive phase convention: Herestaris the conjugate transpose , and the positive sign in matches , the shift action , and the operator order . - Scope: Lemma 15.2 gives the algebraic phase kickback of finite Weyl conjugation. The actual multi-qubit QFT action and native event counts are supplied separately by Theorem 15.3 and Theorem 15.4; they do not follow directly from the Weyl conjugation formula.
Turning the gears into a circuit equality requires fixing both instruction order and binary labels. We use the actual recursive QuantumAlg.QuantumFourierTransform.Source.circuit: each layer executes a leading Hadamard, its ordered controlled-phase prefix, and the embedded recursive tail, followed by the terminal disjoint bit-reversal SWAP network. onBinaryLabels identifies its execution matrix with integer labels in big-endian order, with the most significant bit first.
For every , every natural width , every interpretation , and every complex vector , let be the execution matrix of the circuit above under onBinaryLabels. Then
This is exact equality of complex vectors, including global phase. Neither normalization of nor is required.
Width induction computes the entries of the actual circuit before the terminal swaps, with the output label bit reversed. The terminal SWAP network cancels this reversal. The resulting entries are the positive Fourier kernel times ; summing over input coordinates gives the equality on every vector. The full proof is checked by the Lean kernel.
Execution and accounting observe the same circuit; an abstract Fourier operator alone does not supply circuit costs. Write when the native gate event equals , and otherwise.
For every , every event , and every , the eventCost of the circuit above satisfies
Here , , and denote their native gate events. Their occurrence counts are respectively , , and . Every other event, including oracle events, has count zero; at all counts are zero.
Each actual layer contributes one Hadamard and the controlled phases in its specified prefix. Embedding the tail preserves its event counts; width induction accumulates and . The terminal reversal contains SWAPs. Sequential composition gives the formula for every event coordinate. The full proof is checked by the Lean kernel.
At there are Hadamards, controlled phases, and SWAP: ideal native occurrences. At the one-coordinate transform is the identity and uses no gates. These counts exclude input loading, full classical coefficient readout, synthesis over a finite discrete gate set, and hardware costs. The later three-qubit product formula explains this big-endian, positive-exponent convention by hand; it does not certify every geometric tensor identity or interactive behavior on the page.
The actual recursive circuit proofs and event counts are supplied by QudeLeap Team’s Lean-QuantumAlg, fixed revision; the transplanted source retains its Apache 2.0 license and attribution. Source audit #30752 still has three validated, seven unresolved, and fifty-six incomplete items. These two citations do not settle the remaining supplier-library audit.