Quantum Fourier transform

From Wikipedia, the free encyclopedia
(Redirected from Quantum fourier transform)

[1]

In quantum computing, the quantum Fourier transform (QFT) is a linear transformation on quantum bits, and is the quantum analogue of the discrete Fourier transform. The quantum Fourier transform is a part of many quantum algorithms, notably Shor's algorithm for factoring and computing the discrete logarithm, the quantum phase estimation algorithm for estimating the eigenvalues of a unitary operator, and algorithms for the hidden subgroup problem. The quantum Fourier transform was discovered by Don Coppersmith.[2]

The quantum Fourier transform can be performed efficiently on a quantum computer with a decomposition into the product of simpler unitary matrices. The discrete Fourier transform on amplitudes can be implemented as a quantum circuit consisting of only Hadamard gates and controlled phase shift gates, where is the number of qubits.[3] This can be compared with the classical discrete Fourier transform, which takes gates (where is the number of bits), which is exponentially more than .

The quantum Fourier transform acts on a quantum state vector (a quantum register), and the classical Discrete Fourier transform acts on a vector. Both types of vectors can be written as lists of complex numbers. In the quantum case it is a sequence of probability amplitudes for all the possible outcomes upon measurement (the outcomes are the basis states, or eigenstates). Because measurement collapses the quantum state to a single basis state, not every task that uses the classical Fourier transform can take advantage of the quantum Fourier transform's exponential speedup.

The best quantum Fourier transform algorithms known (as of late 2000) require only gates to achieve an efficient approximation, provided that a controlled phase gate is implemented as a native operation.[4]

Definition[edit]

The quantum Fourier transform is the classical discrete Fourier transform applied to the vector of amplitudes of a quantum state, which usually has length .

The classical Fourier transform acts on a vector and maps it to the vector according to the formula:

where and is an N-th root of unity.

Similarly, the quantum Fourier transform acts on a quantum state and maps it to a quantum state according to the formula:

(Conventions for the sign of the phase factor exponent vary; here the quantum Fourier transform has the same effect as the inverse discrete Fourier transform, and vice versa.)

Since is a rotation, the inverse quantum Fourier transform acts similarly but with:

In case that is a basis state, the quantum Fourier Transform can also be expressed as the map

Equivalently, the quantum Fourier transform can be viewed as a unitary matrix (or quantum gate) acting on quantum state vectors, where the unitary matrix is the DFT matrix

where . For example, in the case of and phase the transformation matrix is

Properties[edit]

Unitarity[edit]

Most of the properties of the quantum Fourier transform follow from the fact that it is a unitary transformation. This can be checked by performing matrix multiplication and ensuring that the relation holds, where is the Hermitian adjoint of . Alternately, one can check that orthogonal vectors of norm 1 get mapped to orthogonal vectors of norm 1.

From the unitary property it follows that the inverse of the quantum Fourier transform is the Hermitian adjoint of the Fourier matrix, thus . Since there is an efficient quantum circuit implementing the quantum Fourier transform, the circuit can be run in reverse to perform the inverse quantum Fourier transform. Thus both transforms can be efficiently performed on a quantum computer.

Circuit implementation[edit]

The quantum gates used in the circuit of qubits are the Hadamard gate and the phase gate :

The circuit is composed of gates and the controlled version of :

Quantum circuit for Quantum-Fourier-Transform with n qubits (without rearranging the order of output states) using the fractional binary notation defined below.

An orthonormal basis consists of the basis states

These basis states span all possible states of the qubits:

where, with tensor product notation , indicates that qubit is in state , with either 0 or 1. By convention, the basis state index is the binary number encoded by the , with the most significant bit.

The action of the Hadamard gate is , where the sign depends on .

The quantum Fourier transform can be written as the tensor product of a series of terms:

Using the fractional binary notation

the action of the quantum Fourier transform can be expressed in a compact manner:

To obtain this state from the circuit depicted above, a swap operation of the qubits must be performed to reverse their order. At most swaps are required.[3]

Because the discrete Fourier transform, an operation on n qubits, can be factored into the tensor product of n single-qubit operations, it is easily represented as a quantum circuit (up to an order reversal of the output). Each of those single-qubit operations can be implemented efficiently using one Hadamard gate and a linear number of controlled phase gates. The first term requires one Hadamard gate and controlled phase gates, the next term requires one Hadamard gate and controlled phase gate, and each following term requires one fewer controlled phase gate. Summing up the number of gates, excluding the ones needed for the output reversal, gives gates, which is quadratic polynomial in the number of qubits.

The circuit-level implementation of the quantum Fourier transform on a linear nearest neighbor architecture has been studied before.[5][6] The circuit depth is linear in the number of qubits.

Applications of Quantum Fourier Transform[edit]

The Quantum Fourier Transform (QFT) finds applications across a spectrum of quantum algorithms and protocols, showcasing its versatility and significance in quantum computing and information processing. Some notable applications include:

Shor's Algorithm[edit]

Shor's algorithm, a landmark quantum algorithm developed by Peter Shor in 1994, exploits the QFT to factor large integers efficiently. By leveraging the periodicity properties revealed by the QFT, Shor's algorithm can factorize integers in polynomial time, a task that remains exponentially hard for classical computers. This algorithm has profound implications for cryptography, as it renders classical public-key cryptosystems, such as RSA, vulnerable to quantum attacks.

Quantum Phase Estimation[edit]

Quantum phase estimation (QPE) is a fundamental subroutine in many quantum algorithms, including Shor's algorithm. QPE estimates the phase of an eigenvector corresponding to a unitary operator. The QFT serves as a key component in QPE, enabling the efficient estimation of eigenvalues with high precision. Applications of QPE extend beyond factoring integers to various quantum simulations and quantum chemistry problems.

Quantum Signal Processing[edit]

In quantum signal processing (QSP), the QFT plays a crucial role in analyzing and manipulating quantum signals. Analogous to classical signal processing techniques, QSP involves tasks such as signal transformation, filtering, and spectral analysis. The QFT enables efficient signal transformations in the quantum domain, facilitating applications in quantum communication, sensing, and data processing.

Quantum Machine Learning[edit]

Quantum machine learning (QML) leverages quantum computing techniques to enhance traditional machine learning algorithms. The QFT finds applications in quantum feature mapping and kernel methods, enabling the efficient extraction of features and similarity measures from quantum data. QML algorithms employing the QFT promise advantages in pattern recognition, classification, and optimization tasks.

Quantum Error Correction[edit]

Quantum error correction (QEC) is essential for mitigating errors arising from decoherence and noise in quantum systems. The QFT, along with other quantum operations, forms the basis for designing quantum error-correcting codes and fault-tolerant quantum circuits. By encoding quantum information across multiple qubits and employing QFT-based error detection and correction techniques, quantum systems can achieve enhanced stability and reliability.

Quantum Metrology[edit]

In quantum metrology, the QFT enables precision measurements of physical quantities, surpassing classical limits imposed by the Heisenberg uncertainty principle. By encoding information in quantum states and applying QFT-based measurement techniques, quantum sensors can achieve unprecedented levels of sensitivity and accuracy. Quantum metrology applications range from gravitational wave detection to magnetic field sensing and beyond.

In summary, the Quantum Fourier Transform (QFT) serves as a fundamental building block in various quantum algorithms and protocols, enabling efficient computation, signal processing, error correction, metrology, and machine learning tasks in the realm of quantum computing and information processing. Its versatility and power underscore its importance in advancing the capabilities of quantum technologies.


Example[edit]

The quantum Fourier transform on three qubits, with , is represented by the following transformation:

where is an eighth root of unity satisfying .

The matrix representation of the Fourier transform on three qubits is:

The 3-qubit quantum Fourier transform can be rewritten as:

The following sketch shows the respective circuit for (with reversed order of output qubits with respect to the proper QFT):

QFT for 3 Qubits (without rearranging the order of the output qubits)

As calculated above, the number of gates used is which is equal to , for .

Relation to quantum Hadamard transform[edit]

Using the generalized Fourier transform on finite (abelian) groups, there are actually two natural ways to define a quantum Fourier transform on an n-qubit quantum register. The QFT as defined above is equivalent to the DFT, which considers these n qubits as indexed by the cyclic group . However, it also makes sense to consider the qubits as indexed by the Boolean group , and in this case the Fourier transform is the Hadamard transform. This is achieved by applying a Hadamard gate to each of the n qubits in parallel.[7][8] Shor's algorithm uses both types of Fourier transforms, an initial Hadamard transform as well as a QFT.

References[edit]

  1. ^ https://ercim-news.ercim.eu/en128/special/quantum-fourier-transformation-in-industrial-applications
  2. ^ Coppersmith, D. (1994). "An approximate Fourier transform useful in quantum factoring". Technical Report RC19642, IBM. arXiv:quant-ph/0201067.
  3. ^ a b Michael Nielsen and Isaac Chuang (2000). Quantum Computation and Quantum Information. Cambridge: Cambridge University Press. ISBN 0-521-63503-9. OCLC 174527496.
  4. ^ Hales, L.; Hallgren, S. (November 12–14, 2000). "An improved quantum Fourier transform algorithm and applications". Proceedings 41st Annual Symposium on Foundations of Computer Science. pp. 515–525. CiteSeerX 10.1.1.29.4161. doi:10.1109/SFCS.2000.892139. ISBN 0-7695-0850-2. S2CID 424297.
  5. ^ Fowler, A. G.; Devitt, S. J.; Hollenberg, L. C. L. (2004-07-01). "Implementation of Shor's algorithm on a linear nearest neighbour qubit array". Quantum Information & Computation. 4 (4): 237–251. doi:10.26421/QIC4.4-1. ISSN 1533-7146.
  6. ^ Maslov, Dmitri (2007-11-15). "Linear depth stabilizer and quantum Fourier transformation circuits with no auxiliary qubits in finite-neighbor quantum architectures". Physical Review A. 76 (5): 052310. arXiv:quant-ph/0703211. Bibcode:2007PhRvA..76e2310M. doi:10.1103/PhysRevA.76.052310. S2CID 18645435.
  7. ^ Fourier Analysis of Boolean Maps– A Tutorial –, pp. 12-13
  8. ^ Lecture 5: Basic quantum algorithms, Rajat Mittal, pp. 4-5
  • K. R. Parthasarathy, Lectures on Quantum Computation and Quantum Error Correcting Codes (Indian Statistical Institute, Delhi Center, June 2001)
  • John Preskill, Lecture Notes for Physics 229: Quantum Information and Computation (CIT, September 1998)

External links[edit]