Fiveable

Quantum Computing Unit 7 Review

QR code for Quantum Computing practice questions

7.2 Quantum Fourier transform

7.2 Quantum Fourier transform

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Quantum Computing
Unit & Topic Study Guides

The Quantum Fourier Transform (QFT) is a powerful quantum operation that transforms quantum states into a Fourier basis. It's like a quantum version of the classical Fourier transform, but with some cool quantum twists that make it super efficient.

QFT is a game-changer in quantum computing. It's the secret sauce behind many quantum algorithms, like Shor's factoring algorithm. QFT can process multiple states in parallel, making it exponentially faster than classical Fourier transforms.

Quantum Fourier Transform

Definition of quantum Fourier transform

  • Quantum analog of the classical discrete Fourier transform (DFT) performs Fourier transform on quantum states by mapping computational basis states to Fourier basis states
  • Unitary operation preserves inner products and norms of quantum states ensuring the transformation is reversible and maintains the quantum properties of the system
  • Linearity property allows the QFT to be applied to superpositions of states QFT(αx+βy)=αQFT(x)+βQFT(y)QFT(\alpha|x\rangle + \beta|y\rangle) = \alpha QFT(|x\rangle) + \beta QFT(|y\rangle) enabling parallel processing of multiple states
  • Periodicity property QFT(x)=QFT(x+2n)QFT(|x\rangle) = QFT(|x+2^n\rangle) for an n-qubit system implies that the QFT output is periodic with respect to the input state (similar to the classical DFT)

Circuit representation of QFT

  • Mathematical representation x12nk=02n1e2πixk/2nk|x\rangle \rightarrow \frac{1}{\sqrt{2^n}} \sum_{k=0}^{2^n-1} e^{2\pi i x k / 2^n} |k\rangle where xx is the input state, kk is the output state, and nn is the number of qubits describes the transformation of the input state to a superposition of output states with specific amplitudes
  • Composed of Hadamard gates and controlled rotation gates where Hadamard gates create superposition and controlled rotation gates apply phase rotations
    • Rotation angles depend on the position of the control and target qubits with smaller angles for qubits further from the most significant qubit
  • Apply Hadamard and controlled rotations in reverse order starting with the least significant qubit and moving towards the most significant qubit to ensure the correct phase relationships between the qubits
Definition of quantum Fourier transform, Duality quantum algorithm efficiently simulates open quantum systems | Scientific Reports

Implementation with quantum gates

  • Hadamard gate (HH) is a single-qubit gate that creates superposition transforming 0|0\rangle to 12(0+1)\frac{1}{\sqrt{2}}(|0\rangle + |1\rangle) and 1|1\rangle to 12(01)\frac{1}{\sqrt{2}}(|0\rangle - |1\rangle)
  • Controlled rotation gates (RkR_k) are two-qubit gates that apply a phase rotation to the target qubit with the matrix representation Rk=(100e2πi/2k)R_k = \begin{pmatrix} 1 & 0 \\ 0 & e^{2\pi i / 2^k} \end{pmatrix} where kk determines the rotation angle and depends on the position of the control and target qubits
  • Swap gates are used to reverse the order of qubits after applying the QFT circuit which is necessary to obtain the correct output state order (e.g., q0q1q2|q_0q_1q_2\rangle becomes q2q1q0|q_2q_1q_0\rangle)

Complexity analysis vs classical transform

  • Quantum Fourier Transform (QFT) requires O(n2)O(n^2) quantum gates for an n-qubit system with nn Hadamard gates and n(n1)2\frac{n(n-1)}{2} controlled rotation gates resulting in an exponentially faster algorithm compared to the classical Fourier transform
  • Classical Discrete Fourier Transform (DFT) has a complexity of O(n2n)O(n2^n) for an input of size 2n2^n while the Fast Fourier Transform (FFT) algorithm reduces the complexity to O(n2n)O(n2^n) which is still exponentially slower than the QFT
  • QFT provides an exponential speedup over the classical DFT enabling efficient quantum algorithms for problems such as period finding (used in Shor's algorithm for factoring) and quantum phase estimation (used in quantum chemistry simulations)
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →