Quantum Computing, Quantum, Quantum Physics, Quantum Mechanics, Quantum Computer.
is a binary number). Let’s encode this into our qubits: # Create the circuit qc = QuantumCircuit(3) # Encode the state 5 qc.x(0) qc.x(2) qc.draw('mpl') And let’s check the qubit’s states using the aer simulator: sim = Aer.get_backend("aer_simulator") qc_init = qc.copy() qc_init.save_statevector()