Quantum Computing, Quantum, Quantum Physics, AI, Machine Learning.
with two qubits (q0 and q1) q = QuantumRegister(2) c = ClassicalRegister(2) circuit = QuantumCircuit(q, c) # Apply the CNOT gate on q0 and q1 circuit.cx(q[0], q[1]) # Measure both qubits circuit.measure(q, c) # Execute the circuit on a quantum backend backend =