The quantum Fourier transform, with exponential speed-up compared to the classical fast Fourier transform, has played an important role in quantum computation as a vital part of many quantum algorithms (most prominently, Shor’s factoring algorithm). However, situations arise where it is not sufficient to encode the Fourier coefficients within the quantum amplitudes, for example in the implementation of control operations that depend on Fourier coefficients. In this paper, we detail a new quantum scheme to encode Fourier coefficients in the computational basis, with fidelity 1 - δ and digit accuracy ϵ for each Fourier coefficient. Its time complexity depends polynomially on log (N) , where N is the problem size, and linearly on 1 / δ and 1 / ϵ. We also discuss an application of potential practical importance, namely the simulation of circulant Hamiltonians.