IBM Quantum · Example Payload

Ibm Quantum Create Sampler Job Example

Ibm Quantum Create Sampler Job Example is an example object payload from IBM Quantum, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://quantum.cloud.ibm.com/api/v1/jobs",
    "headers": {
      "Authorization": "Bearer <IAM_BEARER_TOKEN>",
      "Service-CRN": "crn:v1:bluemix:public:quantum-computing:us-east:a/<account>:<instance>::",
      "IBM-API-Version": "2026-03-15",
      "Content-Type": "application/json"
    },
    "body": {
      "program_id": "sampler",
      "backend": "ibm_kingston",
      "tags": ["bell-pair", "demo"],
      "params": {
        "pubs": [
          {
            "circuit": "OPENQASM 3.0; include \"stdgates.inc\"; qubit[2] q; bit[2] c; h q[0]; cx q[0], q[1]; c = measure q;",
            "shots": 1024
          }
        ],
        "version": 2
      }
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "ch1g5sgsf3qf8e8d6a0g",
      "backend": "ibm_kingston",
      "program": "sampler",
      "status": "Queued",
      "created": "2026-05-25T15:32:11.000Z",
      "tags": ["bell-pair", "demo"],
      "private": false
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/ibm-quantum-create-sampler-job-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.