v1

latestOpenAPI 3.0.02026-07-2628145109.6 KB

Submit a single-circuit or multi-circuit job for simulation or execution. In ionq.multi-circuit.v1 payloads, each entry in input.circuits inherits the parent input.gateset unless the circuit sets its own gateset.

post/jobs

Request body

OR
OR
OR

Example request

{
  "type": "ionq.multi-circuit.v1",
  "backend": "simulator",
  "shots": 500,
  "input": {
    "gateset": "native",
    "qubits": 2,
    "circuits": [
      {
        "name": "qis circuit override",
        "gateset": "qis",
        "circuit": [
          {
            "gate": "h",
            "target": 0
          },
          {
            "gate": "cnot",
            "target": 0,
            "control": 1
          }
        ]
      },
      {
        "name": "native circuit from parent",
        "circuit": [
          {
            "gate": "ms",
            "targets": [
              0,
              1
            ],
            "phases": [
              0,
              0.25
            ]
          },
          {
            "gate": "gpi2",
            "target": 0,
            "phase": 0.75
          }
        ]
      }
    ]
  }
}

Response

Created

idstring required
status'submitted' | 'ready' | 'started' | 'canceled' | 'failed' | 'completed' required
session_idstring nullable required

Example response

{
  "id": "617a1f8b-59d4-435d-aa33-695433d7155e"
}