POST
/
quantum-jobs
curl --request POST \
  --url https://api.qbraid.com/api/quantum-jobs \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "qbraidDeviceId": "<string>",
  "bitcode": "aSDinaTvuI8gbWludGxpZnk=",
  "openQasm": "<string>",
  "circuitNumQubits": 123,
  "shots": 123,
  "tags": {}
}'
{
    "timeStamps": {
      "createdAt": "2024-06-17T21:24:25.383Z",
      "endedAt": null,
      "executionDuration": null
    },
    "queuePosition": null,
    "queueDepth": null,
    "circuitNumQubits": 2,
    "circuitDepth": 1,
    "qbraidDeviceId": "aws_dm_sim",
    "qbraidJobId": "aws_dm_sim-test-qjob-f9yr2qzmxcqk8lv6a9t8",
    "status": "INITIALIZING",
    "vendor": "aws",
    "provider": "aws",
    "escrow": 3.75,
    "cost": null,
    "shots": 1000,
    "openQasm": "OPENQASM 3;\n qubit[2] q;\n h q[0];\n cx q[0], q[1];",
    "measurementCounts": null
}
{
    "timeStamps": {
      "createdAt": "2024-06-17T21:24:25.383Z",
      "endedAt": null,
      "executionDuration": null
    },
    "queuePosition": null,
    "queueDepth": null,
    "circuitNumQubits": 2,
    "circuitDepth": 1,
    "qbraidDeviceId": "aws_dm_sim",
    "qbraidJobId": "aws_dm_sim-test-qjob-f9yr2qzmxcqk8lv6a9t8",
    "status": "INITIALIZING",
    "vendor": "aws",
    "provider": "aws",
    "escrow": 3.75,
    "cost": null,
    "shots": 1000,
    "openQasm": "OPENQASM 3;\n qubit[2] q;\n h q[0];\n cx q[0], q[1];",
    "measurementCounts": null
}

Authorizations

api-key
string
header
required

Authenticate requests using an API key linked to your qBraid account. Obtain your key by registering or logging in at account.qbraid.com.

Body

application/json

Response

201

Job created successfully