Katherine E. Stange

Quantum Fourier Transform

This demo shows the action of the quantum fourier transform (which is itself a version of the discrete fourier transform).

The complex coefficients of each classical state are represented as a coloured bar.  The colour represents the phase, using the usual domain colouring standard as in the picture below (red = positive real direction, greeny-yellow = positive imaginary direction).  The height represents the complex absolute value.

You can alter the input function with your keyboard:

The input function is f(x)=Nleftfracc+bxNrighte2piiax/Nf(x) = N\\left \\{ \\frac{c + bx}{N} \\right \\} e^{2\\pi i a x / N}