Quantum Computing, Quantum, Quantum Physics, Quantum Mechanics, Quantum Computer.
return circuit # Let's see how it looks: qc = QuantumCircuit(4) qft(qc,4) qc.draw('mpl') We now want to demonstrate this circuit works correctly. To do this we must first encode a number in the computational basis. We can see the number 5 in binary is 101: bin(5) 0b101 (The 0b just reminds us this