Quantum Algorithms And The Fourier Transform