Usage-Aware Job Submission
A 2-step recipe with IBM Quantum. We can help you get access.
Recipe · 2 steps
Usage-Aware Job Submission
with IBM Quantum
Submit a job only when the instance usage limit has not been reached.
- Read the instance's current usage period, including consumed seconds and whether the usage limit has been reached.
- Submit the primitive job now that the instance still has usage capacity.
What you'll need to have ready
- accessToken: IBM Cloud IAM bearer token used in the Authorization header.
- serviceCrn: IBM Cloud Service CRN identifying the Qiskit Runtime instance.
- apiVersion: API version date sent in the IBM-API-Version header (e.g. 2026-03-15).
- backend: Name of the backend on which to run the program.
- programId: ID of the primitive program to execute.
- params: The primitive input params object.
For your developer
Arazzo workflow ibm-quantum:usage-aware-job-submission, 2 operations: get_usage → create_job. Specs on APIs.io.