The quantum Fourier transform (QFT) is a quantum analog of the classical discrete Fourier transform (DFT) and is a key component in many quantum algorithms, including Shor's algorithm. QFT circuits transform a quantum state from the computational basis to the Fourier basis.