The Quantum Fourier Transform and Shor's Algorithm

Stub. The Fourier transform over Z_N (roots of unity, the character functions χ_s), its efficient implementation as a quantum circuit (worked concretely for N=16), the general period-finding problem, Shor's factoring algorithm built from it, and the hidden subgroup problem as the unifying abstraction behind Simon's, Shor's, and related algorithms.

· 2 min read · 212 words

Corresponds to Chapters 6.4–8.1. Generalizes Simon’s Fourier transform over F2n\mathbb F_2^n to the Fourier transform over ZN\mathbb Z_N, built from the NN-th roots of unity ωN\omega_N and the resulting character functions χs\chi_s — and shows this transform has an efficient (O(log⁡2N)O(\log^2 N)-gate) quantum circuit implementation, worked out concretely for N=16N=16. Period-finding — given a periodic function, find its period — is solved by the same superposition-then-QFT template as Simon’s algorithm, and Shor’s algorithm reduces integer factoring to period-finding of a specific modular exponentiation function, which is what breaks RSA and the discrete-log/Diffie-Hellman assumptions of number-theory-for-cryptography given a large enough quantum computer — the single result most directly responsible for the field of post-quantum (lattice-based, e.g. LWE-based) cryptography this course builds toward. The hidden subgroup problem is the unifying abstraction: Simon’s algorithm, Shor’s algorithm, and several other quantum speedups are all instances of efficiently finding a hidden subgroup of a group given query access to a function constant on (and only on) its cosets.

Outline (TODO — flesh out each)

  • The Fourier transform over ZN\mathbb Z_N — roots of unity, characters
  • Implementing the QFT over ZN\mathbb Z_N (worked for N=16N=16)
  • Period-finding
  • Shor’s algorithm
  • The hidden subgroup problem

← All notes