ibm-quantum · Arazzo Workflow
IBM Quantum Submit Job and Poll Results
Version 1.0.0
Submit a Qiskit Runtime primitive job, poll until it reaches a terminal state, and fetch the final result.
Provider
Workflows
submit-job-and-poll-results
Run a Qiskit Runtime primitive job on a backend and retrieve its results.
Checks the backend status, submits a primitive job, polls the job until it terminates, and returns the result payload.
1
checkBackendStatus
get_backend_status
Confirm the target backend is reachable and report its operational state and queue length before submitting work to it.
2
submitJob
create_job
Invoke the Qiskit Runtime primitive with the supplied program id, backend, and params. The returned job id is used to poll status and fetch results.
3
pollJobStatus
get_job
Read the job details and branch on its status. A terminal status ends the poll loop and routes to the result fetch; any non-terminal status loops back to poll again.
4
fetchResults
get_job_results_jid
Retrieve the job's final result payload once the job has completed successfully.
Source API Descriptions
openapi