Quantum Computing, Quantum, Quantum Physics, Quantum Mechanics, Quantum Computer.
that qubit taken care of, we can now ignore it and repeat the process, using the same logic for qubits 0 and 1: qc.h(1) qc.cp(pi/2, 0, 1) # CROT from qubit 0 to qubit 1 qc.h(0) qc.draw('mpl') Finally we must swap the qubits 0 and 2 to complete the QFT qc.swap(0,2) qc.draw('mpl') General QFT