Skip to main content
KetQat

Appearance

Definition · intermediate

Quantum Fourier transform

The unitary on an N-dimensional space that maps each basis state labelled by an integer modulo N to the uniform superposition weighted by the corresponding N-th roots of unity; the discrete Fourier transform acting on amplitudes.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let N≥1N \ge 1 be an integer and let {∣j⟩:j∈ZN}\{\ket{j} : j \in \Z_N\} be an orthonormal basis of CN\C^N labelled by the integers modulo NN. Write ωN=e2πi/N\omega_N = e^{2\pi i/N}. The quantum Fourier transform over ZN\Z_N is the linear map FNF_N defined on the basis by

FN∣j⟩  =  1N∑k=0N−1ωN jk ∣k⟩,j∈ZN.F_N \ket{j} \;=\; \frac{1}{\sqrt{N}} \sum_{k=0}^{N-1} \omega_N^{\,jk}\, \ket{k}, \qquad j \in \Z_N .

Its matrix entries are ⟨k∣FN∣j⟩=ωNjk/N\bra{k} F_N \ket{j} = \omega_N^{jk}/\sqrt{N}. It is unitary: for all j,j′∈ZNj, j' \in \Z_N, ⟨j′∣FN†FN∣j⟩=1N∑kωN(j−j′)k=δjj′\bra{j'} F_N\dagg F_N \ket{j} = \frac{1}{N}\sum_{k} \omega_N^{(j-j')k} = \delta_{jj'}, because a sum of all NN-th powers of an NN-th root of unity other than 1 vanishes. The inverse is FN†∣k⟩=N−1/2∑jωN−jk∣j⟩F_N\dagg \ket{k} = N^{-1/2} \sum_j \omega_N^{-jk} \ket{j}.

On amplitudes, FN∑jxj∣j⟩=∑kyk∣k⟩F_N \sum_j x_j \ket{j} = \sum_k y_k \ket{k} with yk=N−1/2∑jωNjkxjy_k = N^{-1/2}\sum_j \omega_N^{jk} x_j: the classical discrete Fourier transform of the vector xx, with the sign convention e+2πijk/Ne^{+2\pi i jk/N} and unitary normalisation (many numerical libraries use e−2πijk/Ne^{-2\pi i jk/N} and no normalisation in the forward direction).

For N=2N = 2, F2=HF_2 = H, the Hadamard gate. More generally the Fourier transform over a finite abelian group G=ZN1×⋯×ZNrG = \Z_{N_1} \times \dots \times \Z_{N_r} is FN1⊗⋯⊗FNrF_{N_1} \otimes \dots \otimes F_{N_r}; over Z2 n\Z_2^{\,n} it is H⊗nH^{\otimes n}, which is not the same map as F2nF_{2^n} over the cyclic group Z2n\Z_{2^n}.

When N=2nN = 2^n the space is that of nn qubits and jj is read in binary with qubit 0 as the most significant bit. Efficient circuits exist for N=2nN = 2^n (see the product representation); for arbitrary NN there are polynomial-size circuits approximating FNF_N to any accuracy (Kitaev) and exact ones (Mosca and Zalka). The transform over ZN\Z_N with NN a power of 2 is the one used in Shor's algorithm and in Coppersmith's analysis; a textbook treatment is Chapter 5 of Nielsen and Chuang.

Used by

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Peter W. Shor (1997). Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM Journal on Computing 26(5), 1484-1509. doi:10.1137/S0097539795293172arXiv:quant-ph/9508027
  2. Don Coppersmith (1994). An approximate Fourier transform useful in quantum factoring. IBM Research Report RC 19642 (posted to arXiv in 2002). arXiv:quant-ph/0201067
  3. A. Yu. Kitaev (1995). Quantum measurements and the Abelian stabilizer problem. arXiv:quant-ph/9511026
  4. Michele Mosca, Christof Zalka (2004). Exact quantum Fourier transforms and discrete logarithm algorithms. International Journal of Quantum Information 2(1), 91-100. doi:10.1142/S0219749904000109arXiv:quant-ph/0301093
  5. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Definition, unitarity and inverse re-derived; F_2 = H and the abelian-group tensor-product form checked directly; the n = 1..5 matrices used in the numerical checks for the QFT records. Kitaev's polynomial approximate QFT for arbitrary finite abelian groups compared with the abstract of arXiv:quant-ph/9511026; exact QFT for arbitrary orders with the abstract of Mosca-Zalka arXiv:quant-ph/0301093; Coppersmith's report with arXiv:quant-ph/0201067; Shor's use of a power-of-2 modulus with Shor arXiv:quant-ph/9508027; Nielsen-Chuang Chapter 5 with the publisher's table of contents.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 634d3dddf3e07711. Source file knowledge/records/definition/quantum-fourier-transform.md in the content repository (readable there once it is public).