Controlled phase gate Created 2026-09-24 Updated 2026-11-05
The controlled phase gate contributes exactly when both of its computational-basis input bits are one. It is diagonal and symmetric between its two qubits.
In most-significant-bit-first order, let and . On a computational-basis state, process wire with a Hadamard gate, then controlled phase gates controlled by unprocessed wire for each . Wire becomes . Reversing the final wire order yields the positive-exponent quantum Fourier transform. There are Hadamard gates and controlled phase gates. Physical reversal costs swap operators, each expressible as three controlled-NOT gates, themselves implemented with Hadamard gates and a Controlled-Z gate. Thus the entire construction uses gates from the specified family.
Exchange-pulse CNOT synthesis Created 2026-10-20 Updated 2026-11-05
Two square roots of the SWAP gate, separated and followed by local rotations, implement a controlled phase gate. Local rotations of its target convert it into a CNOT gate. The construction assumes isotropic exchange and independent one-qubit control; pulse errors and extra Hamiltonian terms change the implemented operation.
On an -dimensional register, the quantum Fourier transform with positive-exponent convention is
It is the unitary version of the discrete Fourier transform on amplitudes. The inner product of columns is , equal to one when and zero otherwise by a finite geometric series, so the transformation is unitary.
For the qubit implementation take , write in most-significant-bit-first order, and put . Expanding separates the Fourier phase as a product. The resulting dyadic quantum Fourier transform circuit identity is
Indeed the phase on output bit is , depending on the last input bits; multiplying the factors recovers and the normalization .
Implement the product in reverse wire order as follows. Process input wire , starting at . A Hadamard gate maps to . For each still-unprocessed wire , apply a controlled phase gate with control , target , and target phase
On a computational-basis input this multiplies the target's one-component by , so the processed wire becomes exactly . Continue through all wires and reverse their order using SWAP gates. This equals the boxed transform on every basis vector and therefore on arbitrary superpositions by linearity; it does not require learning the input bits by measurement.
There are . A swap is three controlled-NOT gates, since the alternating control directions send successively to , then , and finally . Thus the exact transform uses one- and two-qubit gates from this phase-gate family, polynomial in the register size . This is a circuit-complexity statement, not a claim that all transformed amplitudes can be read out efficiently. If a fixed finite gate alphabet is required, the phase rotations must instead be synthesized to the desired accuracy; the exact count treats them as the available simple rotation gates.
Write both the input and output integer labels in most-significant-bit-first order, and . Factoring the Fourier phase over the bits of gives the product decomposition of a Fourier phase state:
Here denotes the binary fraction ; the integer part of does not affect the phase.
Build a dyadic quantum Fourier transform circuit as follows. Process wires in that order. First apply a Hadamard gate to wire . Then, for each , apply the controlled phase gate with control wire and target wire . On a computational-basis state, every unprocessed control is still the bit , so wire becomes
Once a wire has been processed it is not touched by later stages. Reversing the order of the output wires gives exactly the Fourier product above. Agreement on every computational-basis state proves agreement as linear operators on all superpositions, even though the intermediate operation on a general input can create entanglement.
There are Hadamard gates and controlled phase gates. Output reversal may be treated as wire relabelling. If it must instead be implemented physically while using only the requested gate family, use swap operators. Each swap is three controlled-NOT gates, and
Thus the swaps use only Hadamard gates and Controlled-Z gates, which are controlled gates. An exact physical network has
elementary gates from the stated family. This implements the positive-exponent Fourier transform with the correct output order in quadratic size. Omitting the output reversal without relabelling the wires would produce the reversed-order transform instead.
For the perturbation bound, the operator norm in the source is equivalently . It satisfies the triangle inequality, is unchanged by left or right multiplication by a unitary operator, and a unitary operator has norm one. The exact telescoping identity is
It follows by replacing one factor at a time; alternatively all intermediate products cancel in the sum. Taking the operator norm and using unitary invariance gives the quantum circuit gate-error telescoping bound
The original PDF assumes strict , so its strict conclusion is justified. If the hypothesis were weakened to a non-strict inequality, the conclusion would likewise be . The TeX aid misreads this hypothesis; the PDF resolves it.
Apply the non-strict version to each approximate unitary gate in the Fourier network. Extending a gate by the identity on other wires leaves its operator norm error unchanged. Including the physical swap decompositions, all gates are of the required type and can obey the stated accuracy. Hence
With exact output relabelling rather than physical swaps the numerator is just . The proof retains gate phases and makes no assumption of cancellation between coherent errors.
For every normalized input the output-state norm error is at most this same bound. If is any positive operator satisfying , the change in its measurement in quantum mechanics outcome probability is at most , where : expand the difference of the two expectations into two terms, each bounded by using the Cauchy-Schwarz inequality. Thus inverse-polynomial gate accuracy gives an inverse-polynomial total error, rather than requiring exponential precision in the number of qubits. For the phase gates this corresponds to specifying angles with bits of precision, since . This is a robustness statement for unitary gate approximations; it does not by itself correct quantum decoherence, correlated stochastic faults, or limitations of hardware connectivity.
Write . Applying the phase gate
to qubit contributes . The product of these gates is therefore
Similarly, for and , apply a controlled phase gate
between every pair . The accumulated phase is
The controlled phase gates implement
Use the computational basis in the stated order and let the rightmost operation act first. The controlled phase gate is . From the rotation definition,
The control-zero block remains the identity, and the control-one block becomes . Thus
This proves the relation for arbitrary superpositions, rather than only for computational-basis probabilities.
For the second relation write . Its central block is , with , . Because , and , direct multiplication gives
Meanwhile . Multiplying these diagonal matrices and the overall factor gives
The supplied is indeed a square root of the SWAP gate: exchanges and while fixing the other basis states. It acts as one on the triplet subspace and as on the singlet subspace.
For an isotropic exchange interaction with Hamiltonian , define . Triplet and singlet energies differ by , so
An exchange pulse with therefore implements . Two such pulses, interspersed with the specified local rotations, implement the controlled phase gate; the initial and final target rotations then turn it into a CNOT gate. Their common overall phase has no effect on an isolated gate's outcome probabilities; a subsequently controlled version must keep track of conditional phases.
Figure 1.
CNOT synthesis from two square-root-of-SWAP exchange pulses and local rotations, with time running left to right
. Details.
The construction converts a physically available two-spin interaction into a standard entangling gate, which together with arbitrary one-qubit rotations supplies universal quantum computation. Practical operation needs calibrated exchange pulse area and timing, individually controllable rotations, and reproducible phase references. Charge noise can change ; magnetic-field gradients add unwanted single-spin evolution, and anisotropic exchange modifies the assumed Hamiltonian. Pulses must suppress leakage into unwanted orbital states while finishing before excessive decoherence. Readout, preparation, cross-talk and the extra operations in this decomposition all affect the achieved quantum gate fidelity. The algebraic identity alone does not establish a fault-tolerant quantum computation implementation.
Quantum Fourier transform Created 2026-09-24 Updated 2026-11-05
The quantum Fourier transform is the unitary operator implementing the discrete Fourier transform on a quantum register:
The opposite exponent defines its inverse. Orthogonality of the finite Fourier phases makes the output vectors orthonormal and the map unitary.
The transform turns periodicity in input amplitudes into structure in measurement probabilities. A uniform state supported on a periodic arithmetic sequence gives peaks at frequencies related to that period, making the transform useful in quantum order finding. For , a dyadic quantum Fourier transform circuit uses Hadamard gates and controlled phase gates. The circuit transforms amplitudes without printing their numerical values; obtaining a useful answer still requires an appropriate state preparation and measurement.