A Fourier transform answers one question: what frequencies are hiding inside a signal? Feed it a sound and it tells you the notes; feed it a list of numbers that repeats every few steps and it tells you the period. The classical Fast Fourier Transform (FFT) does this brilliantly, but it has to touch all N numbers — its cost grows like N log N.
The Quantum Fourier Transform (QFT) does the same job on a quantum state. The catch is that the quantum state can hold a superposition of all N inputs at once, encoded in just N qubits. The QFT then rearranges the amplitudes of that state so that, when you measure, the hidden period shows up as a spike at the matching frequency.
That single trick — turn a repeating pattern into one sharp peak — is the beating heart of Shor's algorithm, the routine that would let a quantum computer factor huge numbers and break much of today's encryption.
Comments
Loading comments...