Qniverse
  • Home
  • About Qniverse
  • Getting Access
  • Brochure
  • Documentation
  • Log In
Select Page

User Guide

13
  • Introduction to Qniverse
  • Creating an Account
  • Profile & Account
  • Quantum Gates
  • Measurement on Basis(x,y,z)
  • Circuit Composer Area
  • Code Editor Area
  • Building Circuits
  • Compute Resources
  • Backend Systems
  • Running Circuits
  • Visualization
  • View Jobs

QSDK

19
  • Gates Palette
    • Gates Palette
  • Algorithms
    • Simon’s Algorithm
    • Bernstein-Vazirani Algorithm
    • Deutsch Function
    • Deutsch-Jozsa Algorithm
    • Grover’s Algorithm(Search)
    • Quantum Teleportation
    • Super Dense Coding
    • Quantum Phase Estimation (QPE)
    • Quantum Fourier Transform (QFT)
    • Shor’s Algorithm
    • Quantum Walks Algorithm(1D)
    • Variational Quantum Eigensolver (VQE)
    • Harrow-Hassidim-Lloyd(HHL) Algorithm
    • Quantum Veto Algorithm
    • QSVM
    • QKMeans Algorithm
    • Quantum Private Comparison(QPC) Algorithm
    • QuantumKNN Algorithm

FAQ and Troubleshooting

2
  • Bug Report/Feedback
  • Terms & Privacy
View Categories
  • Home
  • Docs
  • QSDK
  • Algorithms
  • Quantum Fourier Transform (QFT)

Quantum Fourier Transform (QFT)

2 min read

The Quantum Fourier Transform (QFT) is a fundamental quantum algorithm used in various other quantum algorithms. While QFT is employed in Shor’s algorithm and other quantum algorithms for its ability to transform between time and frequency domains efficiently.

QFT transforms quantum states from one basis to another, specifically between the computational (Z) and Fourier basis. While classical Fourier Transform operates on continuous functions, QFT operates on the amplitudes of quantum states, which can represent multiple possibilities simultaneously due to superposition.

The Hadamard gate (H-gate) acts as the single-qubit QFT in quantum circuits, converting between the Z-basis and X-basis states. The QFT is also applicable to multi-qubit systems, where it transforms the entire quantum state from the computational basis to the Fourier basis.

One of the most prominent applications of QFT is in Shor’s algorithm, a quantum algorithm for integer factorization, where it enables efficient computation of the discrete Fourier transform, a crucial step in the algorithm’s implementation. Additionally, QFT finds applications in quantum phase estimation, quantum error correction, and various quantum machine learning algorithms. Despite its significance, the implementation of QFT in large-scale quantum systems remains a challenge due to the sensitivity of quantum states to errors and decoherence.

 

Step 1:

Apply a Hadamard gate (H-gate) to the first qubit(most significant qubit).

Apply controlled rotations (phase gates) on the first qubit controlled by all other qubits.

 

Step 2:

Controlled Rotations:

For each qubit j from 2 to n:

  • Apply Hadamard gate (H-gate) to qubit j.
  • Apply controlled rotations (phase gates) on qubit j, controlled by qubits j+1 to n.
  • The phases will be π/2^(k-j), where k=j+1, j+2, …..n.

 

Step 3:

Swap Gates

Perform swap gates to reverse the order of the qubits.

 

Starting with a short video tour of how the circuit looks for the 2-Qubit Selection and the results obtained on submitting the circuit.

https://qniverse.in/wp-content/uploads/2024/05/QFT-2.mp4
Quantum Phase Estimation (QPE)Shor’s Algorithm

GET IN TOUCH

Ready to Get Started?

Have a query or a feedback? Reach out to us to learn more about the Qniverse and we will be in touch with you at the earliest.



qniverse [at] cdac [dot] in

C-DAC

Copyright © 2025, C-DAC, All rights reserved.

Developed and maintained by Quantum Technology Group, C-DAC Bengaluru

Ministry of Electronics and Information Technology (MeitY), Govt. of India

Terms of Service
Privacy Policy