Now that we’ve instantiated our device, in this case the AWS SV1 simulator, we can construct a quantum circuit and submit a task using the .run method:
Copy
Ask AI
from braket.circuits import Circuitcircuit = Circuit().h(0).cnot(0, 1)job = device.run(circuit, shots=10)
We now have job which is of type BraketQuantumTask, which inherits from QuantumJob. To see the results,
we can do the following: