Understanding the Job component
The last component we will cover is the Job
component. The Job
component is basically an instance of the circuit that has been executed on the backend and contains information from the executed circuit(s), such as results, which backend, duration, etc. What that means is that once you send the circuit to the backend to get executed, the backend will generate the Job
instance and append information about the job: information such as status, result, job identifier, and so on. The following is a list of the available Job
functions:
backend()
provides the backend that the job is running on.status()
provides the status of the job.result()
provides the job result after execution is completed on the backend.cancel()
provides the ability to cancel the job.job_id()
provides the alphanumeric job identifier.
We’ll reuse the circuit we created earlier, transpiled_qc
, for simplicity so we can review the Job
...