arXiv:2611.06341quant-phNov 2026

Manuscript Offprint

arXiv:2611.06341

Improved Exact and Approximate Quantum Fourier Transforms from Multiplication

Chandrima Kayal, Rajat Mittal, Manaswi Paraashar, Nitin Saurabh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In the world of quantum computing, quantum Fourier transform (QFT) has been one of the most important subroutines for quantum algorithms, as exemplified by Shor's factoring algorithms and phase estimation (which in itself has been used as a primitive in various quantum algorithms). In fact most of the well known quantum algorithms can be divided into two classes, QFT based algorithms and search based algorithms.

The usual circuit for QFT (covered in almost every basic quantum algorithms course) needs O(q2)O(q^2) gates (and O(q)O(q) qubits) to perform the exact Fourier transform over F2q\mathbb{F}_{2^q}. Cleve and Watrous (FOCS 2000) improved this gate count to O(q(log⁡q)2(log⁡log⁡q))O(q(\log q)^2(\log \log q)) using the integer multiplication algorithm in O(n(log⁡n)(log⁡log⁡n))O(n(\log n)(\log \log n)) time for two nn-bit integers (best known at that time). Our first main result shows that this gate count can be improved to O(q(log⁡q))O(q(\log q)). In fact, if there is a multiplication circuit, to multiply two nn-bit integers, with O(n(log⁡n)α)O(n(\log n)^\alpha) gates; we get a QFT circuit with O(q(log⁡q)α)O(q(\log q)^\alpha) gates (improving upon O(q(log⁡q)α+1)O(q(\log q)^{\alpha+1})) gates from the construction of Cleve and Watrous). Given the recent claim by OpenAI about integer multiplication, this opens up the possibility of having a QFT circuit with o(q(log⁡q))o(q(\log q)) gates.

On approximating the QFT over Z/(2qZ)\mathbb{Z}/(2^q\mathbb{Z}), the result of Ahokas, Cleve and Hales (ERATO 2003) showed that an approximating circuit can be built with O(q(log⁡log⁡(q/ε))α+1)O(q(\log \log (q/\varepsilon))^{\alpha+1}) gates, where ε\varepsilon is the approximating parameter. Our second main result again improves this to O(q(log⁡log⁡(q/ε))α)O(q(\log \log (q/\varepsilon))^{\alpha}) gates.

In comparison to the previous results mentioned above (Cleve and Watrous; Ahokas, Cleve and Hales), our constructions use an additional single qubit rotation gate whose angle of rotation depends on qq. Due to the presence of this gate, we are not able to show that our circuit families are uniform.

1 Introduction

The quantum Fourier transform (QFT) is a fundamental quantum algorithm and it has applications all over quantum computing. In particular, it plays a central role in Shor's algorithms for factoring and discrete logarithms [Sho97], and in the standard quantum phase-estimation procedure [CEMM98]. We refer the reader to [NC10, dW19, CvD10, CEMM98] for an introduction to the QFT and its applications.

*Université Paris Cité, CNRS, IRIF, Paris, France, Email:chandrimakaya12012@gmail.com †Indian Institute of Technology Kanpur. Email:mittal@cse.iitk.ac.in ‡Indian Institute of Technology Hyderabad. Email:manaswi@cse.iith.ac.in §Indian Institute of Technology Hyderabad. Email:nitin@cse.iith.ac.in

For an integer 0≤x<2q0 \leq x < 2^q, let ∣x⟩|x\rangle denote its qq-qubit computational basis encoding. The QFT is the unitary FqF_q defined by

Fq∣x⟩=2−q/2∑y=02q−1e2πixy/2q∣y⟩,for all 0≤x<2q.F_{q}|x\rangle=2^{-q/2}\sum_{y=0}^{2^{q}-1}e^{2\pi i x y/2^{q}}|y\rangle,\qquad\text{for all }0\leq x<2^{q}.

By linearity, the action of FqF_q extends to any qq-qubit state ∣ψ⟩|\psi\rangle.

Let UU be a unitary circuit acting on the qq-qubit input register and aa auxiliary qubits initialized to ∣0a⟩|0^a\rangle. We say that UU implements FqF_q exactly if

U(∣ψ⟩∣0a⟩)=⟨Fq∣ψ⟩∣0a⟩U(|\psi\rangle|0^a\rangle)=\langle F_q|\psi\rangle|0^a\rangle

for every qq-qubit state ∣ψ⟩|\psi\rangle. We say that UU is an ε\varepsilon-approximate implementation of FqF_q if

sup⁡∥ψ∥=1∥U(∣ψ⟩∣0a⟩)−(Fq∣ψ⟩)∣0a⟩∥≤ε.(1)\sup_{\|\psi\|=1}\|U(|\psi\rangle|0^a\rangle)-(F_q|\psi\rangle)|0^a\rangle\|\leq \varepsilon. \tag{1}

The norm above is the Euclidean norm.

In this paper, we study the complexity of computing QFT in the quantum circuit model. Specifically, we are interested in the following question: how many gates are needed to implement the transform, both exactly as well as approximately?

Why look at approximate QFT? Approximation is a natural part of implementing the QFT. Even in an exact circuit, the required elementary gates may themselves needs to be approximated.

For example, fault-tolerant implementations over Clifford+TT must account for the cost of synthesizing these gates [NSM20]. Moreover, QFT is almost exclusively used as a subroutine. In that case an algorithm using the QFT generally requires only enough accuracy from QFT to preserve its overall success probability. Physical noise gives a further reason to study this tradeoff: a longer circuit that more closely approximates the ideal transform need not produce a more accurate final computation. This was demonstrated by Barenco, Ekert, Suominen, and Törmä [BEST96] (building on Coppersmith's truncated QFT construction [Cop94]) for periodicity estimation under their model of decoherence.