Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 2.09 KB

results.md

File metadata and controls

58 lines (34 loc) · 2.09 KB
copyright lastupdated keywords subcollection content-type
years
2021, 2023
2022-09-13
quantum, Qiskit, runtime, near time compute
quantum-computing
howto

{{site.data.keyword.attribute-definition-list}}

View final job results

{: #results}

This tutorial describes how to review final results after running a job. {: shortdesc}

The job's data will be deleted after 30 days. {: important}

Before you begin

{: #before-you-begin-results}

Run your job and note the job ID.

Check the status

{: #check-job-status-before-results}

After the job completes, you can view the results.

Immediately after running the job, follow up the {{site.data.keyword.qiskit_runtime_notm}} QiskitRuntimeService.run() method by running job.status().

If you ran other jobs since running the job you want to investigate, run job = service.job(job_id) then run job.status().

Jobs are also listed on the Jobs page for your quantum service instance. From the {{site.data.keyword.cloud_notm}} console quantum Instances page{: external}, click the name of your instance, then click the Jobs tab. To see the status of your job, click the refresh arrow in the upper right corner.

You can optionally run the List job details API{: external}, manually or by using Swagger{: external} to check the job's status.

View the results

{: #view-results}

Follow up the {{site.data.keyword.qiskit_runtime_notm}} QiskitRuntimeService.run() method by running job.result().

After the job completes, you can click the job on the Jobs page to view the result.

Alternatively, run the list job results API{: external} (Swagger link{: external}).

Next steps

{: #next-steps}