Approximate quantum Fourier transform and decoherence | Synapse