Quantum Computing, Quantum, Quantum Physics, Quantum Mechanics, Quantum Computer.
us to see the individual gates Now let’s put our qubits in the state :|5~⟩ nqubits = 3 number = 5 qc = QuantumCircuit(nqubits) for qubit in range(nqubits): qc.h(qubit) qc.p(number*pi/4,0) qc.p(number*pi/2,1) qc.p(number*pi,2) qc.draw('mpl') And we can see this does indeed result in the Fourier