Quantum Arithmetic
Draper QFT Adder: quick reference
Adds a constant to a quantum register by moving to the Fourier basis, applying phase gates, and transforming back.
- Topic
- Quantum Arithmetic
- Level
- Advanced
- Circuit size
- 2 Qubits
- Key result
- Addition with no carry qubits, done entirely with phases
Concepts covered: Quantum Fourier Transform, Fourier-Basis Arithmetic, Phase Gates, Modular Addition
How Draper QFT Adder works, step by step
- Load the Input. Write the number 1 in binary: Q0 is the ones digit, Q1 the twos digit.
- Quantum Fourier Transform. Convert the number into "clock hands": each qubit now holds the number as a rotation angle.
- Add by Rotating Phases. To add 1, turn the fast hand by half a turn (Z) and the slow hand by a quarter turn (S).
- Inverse Fourier Transform. Run the transform backwards to turn the angles back into an ordinary binary number.
- Read the Sum. The register reads 10 in binary: the number 2.
Frequently asked questions
What is Draper QFT Adder?
Adds a constant to a quantum register by moving to the Fourier basis, applying phase gates, and transforming back. It is a advanced-level topic in quantum arithmetic.
How many qubits does the QFT Adder (Draper) circuit use?
The QuanBit tutorial uses a 2 qubits circuit. Key result: Addition with no carry qubits, done entirely with phases.
Can I simulate QFT Adder (Draper) online for free?
Yes. The interactive QFT Adder (Draper) tutorial at https://www.quanbit.tech/learn/qft-adder runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.