Quantum Computing, Quantum, Quantum Physics, Quantum Mechanics, Quantum Computer.
of our function, we call the same function again on # the next qubits (we reduced n by one earlier in the function) qft_rotations(circuit, n) # Let's see how it looks: qc = QuantumCircuit(4) qft_rotations(qc,4) qc.draw('mpl') Finally, we need to add the swaps at the end of the QFT function to match