cURL
curl --request POST \ --url https://api-v2.qbraid.com/api/v1/jobs \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "shots": 123, "deviceQrn": "<string>", "program": { "format": "qasm2", "data": "<unknown>" }, "name": "<string>", "tags": {}, "runtimeOptions": {} } '
{ "success": true, "data": { "jobQrn": "aws:aws:sim:dm1-a1b2-qjob-1234567890abcdef", "status": "INITIALIZING" } }
Submit a quantum job to the specified device.
Request Body:
Headers:
Returns:
Raises:
Authenticate requests using an API key linked to your qBraid account. Obtain your key by registering or logging in at account-v2.qbraid.com.
Schema for job submission request body
Number of shots to execute
qBraid device resource name
Schema for quantum program
Show child attributes
Job name
Job tags
Runtime options
Successful Response
Response schema for job creation
Whether the job was created successfully
Was this page helpful?