A Quantum Bluestein's Algorithm for Arbitrary-Size Quantum Fourier Transform
Nan-Hong Kuo, Renata Wong
TL;DR
The paper addresses the limitation that the standard Quantum Fourier Transform (QFT) is naturally efficient only for sizes that are powers of two, which complicates exact transforms for arbitrary N. It introduces Quantum Bluestein's Algorithm (QBA), which reduces an N-point QFT to a convolution using three diagonal quadratic-phase gates and two radix-2 QFT subcircuits on a workspace of size $M=2^m\ge 2N-1$, enabling exact computation with $O((\log N)^2)$ gates on $O(\log N)$ qubits. The approach preserves the asymptotic resource scaling of the standard QFT while removing the size restriction, and validation via Qiskit simulations demonstrates exact N-point DFT outputs for arbitrary-length inputs. The work provides a practical, open-source framework for implementing exact, scalable QFTs of arbitrary sizes, with potential impact on quantum signal processing and kernel methods in quantum machine learning.
Abstract
We propose a quantum analogue of Bluestein's algorithm (QBA) that implements an exact $N$-point Quantum Fourier Transform (QFT) for arbitrary $N$. Our construction factors the $N$-dimensional QFT unitary into three diagonal quadratic-phase gates and two standard radix-2 QFT subcircuits of size $M = 2^m$ (with $M \ge 2N - 1$). This achieves asymptotic gate complexity $O((\log N)^2)$ and uses $O(\log N)$ qubits, matching the performance of a power-of-two QFT on $m$ qubits while avoiding the need to embed into a larger Hilbert space. We validate the correctness of the algorithm through a concrete implementation in Qiskit and classical simulation, confirming that QBA produces the exact $N$-point discrete Fourier transform on arbitrary-length inputs.
