Answer
- Repeat steps 1-5 from Exercise 3 to create the quantum circuit.
- Import your IBMQ account information and list the available quantum computing providers:
from qiskit import IBMQ IBMQ.load_account() provider = IBMQ.get_provider(group='open') provider.backends()
- If you visit the IBM Quantum Experience home page at https://quantum-computing.ibm.com/, you will be able to see the length of the job queues for the available quantum computers. Select a system with sufficient qubits for your circuit and a short job queue. This example assumes the ibmq_essex computer is your choice.
- Add your job to the queue and monitor its status with these commands. The
shots
parameter provides a count of the number of times the circuit will be executed to collect statistical results:backend = provider.get_backend('ibmq_essex') from qiskit.tools.monitor import job_monitor job_exp = execute(qc, backend=backend, shots=1024) job_monitor(job_exp)
After the run completes...