RoRo Quantum Machines API
The fleet available to your account, and what each machine can do.
The fleet available to your account, and what each machine can do.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/roroquantum-com:roroquantum-com-machines-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: RoRo Quantum Machines API
version: 0.8.0
description: 'The public RoRo Quantum REST API. Authenticate with an API key (`qcs_live_…`)
created in the console, sent as a Bearer token. Simulator targets run on
simulators (locally or cloud-side); quantum-processor targets queue and
execute on real hardware. Results come back as normalized counts.
**Versioning.** The contract is pre-1.0 on purpose: fields are only ever added, never renamed or
removed, but a 1.0.0 would promise a stability the clients do not yet claim. Additive changes bump
the minor version.
**Clients.** The Python client to install is `roro-quantum` (`pip install roro-quantum`; PyPI
carries 0.4.1). The larger platform SDK (`roro-quantum-platform`, `import roro_platform`) runs in
the Lab and calls the machine and run paths below; it is not on PyPI yet. There is no published
JavaScript or Kotlin client: from any other language, call this REST API with an API key. The
clients in the repository run ahead of what is published: Python `roro-quantum` 0.6.x,
JS `@roroquantum/sdk` 0.3.x, Kotlin `roro-quantum-sdk` 0.2.x.
**Resilience (0.6.0).** A run may ask for error MITIGATION with `resilience` — `{"level": 1}` is
tensored readout mitigation (not TREX), `{"level": 2}` adds zero-noise extrapolation. The platform runs the
extra circuits inside the same run, measures the calibration on that run, and prices the whole set in
shot-equivalents: `effectiveShots = shots × Σscales + 2 × calibrationShots`, `costMilli = effectiveShots ×
perShotMilli`. Always quote first — clients never compute the price. `counts` stay exactly as received and
`countsProvenance` says where they came from; the derived distribution is only ever in `mitigated`.
Circuits of the set that did not run are refunded; ZNE circuits that ran are charged even when the
extrapolation is skipped. Mitigation is not error correction.
**One error shape and a request id (0.8.0).** Every error answer is a JSON object
`{"error": , "code": , "requestId": , …}` — `error` keeps its meaning, so a client
that reads only `error` keeps working. An error that has no reason of its own carries its status''s:
`bad_request` (400), `unauthorized` (401), `payment_required` (402), `forbidden` (403), `not_found`
(404), `conflict` (409), `payload_too_large` (413), `rate_limited` (429), `server_error` (500),
`unavailable` (503). Every response carries an `X-Request-Id` header (send your own, 8–128 characters of
`A–Z a–z 0–9 . _ : -`, and it is echoed); quote it when you report a problem. A body that cannot be read
(malformed JSON, a missing or wrong-typed field) is a 400 `bad_request`, never a 500, and a request body
over 8 MiB is refused with 413 before it is read. The proxy in front of the API enforces the same 8 MiB
limit first, so through `api.roroquantum.com` that 413 normally arrives WITHOUT a JSON body (no `code`, no
`requestId`): treat every 413 as `payload_too_large` whatever its body. An error with no sentence of its own
(an unknown path, a missing or expired token) carries its status''s reason phrase as `error` ("Not Found",
"Unauthorized") — branch on `code`, and show your own words for those.
**Two ids, one target.** A machine''s `targetId` (its codename, e.g. `roro.sim.sv`,
`amazon.sv1`) is what you pass when submitting. The run endpoints accept it as
`machineTargetId` (the original wire name) or `targetId` (alias) — send either.'
contact:
name: RoRo Quantum
url: https://roroquantum.com
license:
name: Proprietary
servers:
- url: https://api.roroquantum.com
description: Production
security:
- apiKey: []
tags:
- name: Machines
description: The fleet available to your account, and what each machine can do.
paths:
/v1/machines:
get:
tags:
- Machines
summary: List targets
description: 'The gate-model machines available to your account — always-on simulators and real
quantum processors — with live availability and price. Read this list rather than
hard-coding ids: the fleet changes. Analog (non-gate) devices are never listed here,
because a QASM circuit cannot execute on them.'
responses:
'200':
description: Available targets
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Machine'
'401':
$ref: '#/components/responses/Unauthorized'
operationId: getV1Machines
x-operation-id-source: derived
/v1/machines/{id}/properties:
get:
tags:
- Machines
summary: Machine properties
description: 'The backend''s real capabilities for compiling against it — native gate set, accepted
gates (the server transpiles down), shot range, connectivity class — without a coupling
map or anything else that would fingerprint the upstream vendor of a white-labeled machine.'
parameters:
- name: id
in: path
required: true
description: The machine's `targetId` (codename).
schema:
type: string
example: roro.sim.sv
responses:
'200':
description: The machine's properties
content:
application/json:
schema:
$ref: '#/components/schemas/MachineProperties'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
description: Unknown machine (not in your available list)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1MachinesByIdProperties
x-operation-id-source: derived
components:
responses:
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
MachineTopology:
type: object
description: A machine's qubits and coupling as the quantum service sees them now. Brand-kept machines (`amazon`, `ibm`) carry their own qubit indices and edges; a white-labeled machine carries its public qubit count, how many are usable, and the coarse connectivity word — no edge list and no edge count.
properties:
qubits:
type: integer
description: Qubits on the device (the public count for a white-labeled machine).
example: 156
usableQubits:
type:
- integer
- 'null'
description: Qubits a circuit may be placed on now (offline ones removed); null when the provider does not say.
example: 154
couplingEdges:
type:
- integer
- 'null'
description: Coupling edges (brand-kept machines only).
example: 176
connectivity:
type: string
enum:
- all-to-all
- nearest-neighbour
- programmable
- limited
example: nearest-neighbour
coupling:
type:
- array
- 'null'
items:
type: array
items:
type: integer
minItems: 2
maxItems: 2
description: Coupling edges as pairs of qubit indices (brand-kept machines only).
source:
type:
- string
- 'null'
description: Where the figures were read from.
example: ibm-configuration
fetchedAt:
type:
- string
- 'null'
description: When they were read.
example: '2026-09-24T10:00:00Z'
Machine:
type: object
description: One entry of `GET /v1/machines`. Every field is vendor-neutral except `provider` on brand-kept machines.
properties:
targetId:
type: string
description: The codename to pass as `machineTargetId` (or `targetId`) when submitting.
example: roro.sim.sv
displayName:
type: string
example: RoRo Statevector Simulator
provider:
type: string
description: '`roro` for RoRo''s own simulators and for white-labeled partner hardware; the real vendor (`amazon`, `ibm`, `ionq`) for machines that keep their brand.'
example: roro
kind:
type: string
enum:
- sim
- qpu
description: 'Coarse class: simulator or quantum processor.'
example: sim
qubits:
type: integer
description: Maximum qubits for this target.
example: 22
costPerShot:
type: number
format: double
description: The catalogue's credits per shot. On a `per-shot` machine a run costs `shots × costPerShot`; on any other `priceModel` the quote is the only price. 0 on RoRo's own simulators; a machine your organization's plan makes free (see `free`) keeps its catalogue rate here, and a run on it charges nothing.
example: 0
free:
type: boolean
description: 'True when a run here charges YOU nothing: RoRo''s own simulators (`roro.sim.*`, free by catalogue policy), and machines your organization''s plan makes free to its members (an institution''s plan can cover cloud simulators, within its own daily allowance; such a run can still be refused once that allowance is used up, and the quote says so). Computed for the organization your runs bill when no workspace is named; a run in another organization''s workspace is priced by that organization, and the quote is the authority. Print the word from this flag, never from `costPerShot == 0` (an analog device, or a machine priced by device time, also reports 0).'
example: true
priceModel:
type: string
enum:
- free
- per-shot
- per-second
- per-job
description: 'How this machine prices a run for you: `free` (whenever `free` is true), `per-shot` (every rate below is 0), `per-second` (a rate per projected quantum-second, usually with a per-job minimum), or `per-job` (a job fee or minimum on top of the per-shot rate). These are RATES; what a run costs is what `POST /v1/runs/quote` answers.'
example: per-shot
costPerSecond:
type: number
format: double
description: Credits per projected quantum-second (0 when the machine has no time rate).
example: 0
costPerJob:
type: number
format: double
description: Credits added to every job (0 when none).
example: 0
minJobCredits:
type: number
format: double
description: The least a job costs, in credits (0 when there is no floor).
example: 0
online:
type: boolean
description: True when the target is accepting runs right now.
example: true
status:
type: string
enum:
- online
- offline
- busy
description: '`busy` is an external machine that is queued/inactive/health-degraded — runs may still be accepted.'
example: online
queueDepth:
type:
- integer
- 'null'
description: Jobs ahead on the backend when the machine reports it; null when unknown (simulators).
type:
type: string
enum:
- aer
- qsimulator
- qtester
- qpu
example: aer
description: 'Machine taxonomy: aer = instant local simulator, qsimulator = partner-grade simulator, qtester = hardware test device, qpu = real quantum processor.'
modality:
type: string
enum:
- simulator
- superconducting
- trapped-ion
- neutral-atom
description: The physics of the device.
example: simulator
connectivity:
type: string
enum:
- all-to-all
- nearest-neighbour
- programmable
- limited
description: Coarse qubit-connectivity class (the coupling map of a brand-kept machine is on its properties).
example: all-to-all
nativeGates:
type: array
items:
type: string
description: The gate basis the hardware physically executes (informational — the server transpiles your circuit down to it).
example:
- h
- x
- y
- z
- rx
- ry
- rz
- cx
- cz
- measure
availability:
type: string
description: A one-line
vendor-neutral availability note.: null
example: Always on — instant, exact simulation.
analog:
type: boolean
description: Always false on this list — analog (Hamiltonian-schedule) devices cannot run QASM and are not offered here.
example: false
resilience:
type: array
items:
type: string
enum:
- readout
- zne
- dd
- twirling
description: Error-mitigation methods a run on this machine may request right now (`resilience` on a run). Empty when none — `resilienceNote` says why.
example:
- readout
- zne
resilienceNote:
type: string
description: Why nothing is offered (e.g. an exact simulator has no readout error to mitigate), or a note on what is (e.g. a layout hint is advisory). Empty when there is nothing to add.
example: ''
resilienceState:
type: string
enum:
- offered
- switched-off-by-operator
- not-offered
description: '`offered`; `switched-off-by-operator` (available on this class of machine, switched off right now); `not-offered` (does not apply here).'
example: offered
resilienceMaxEffectiveShots:
type:
- integer
- 'null'
description: The most shot-equivalents one resilience run may bill here; null when nothing is offered.
example: 12000
calibration:
allOf:
- $ref: '#/components/schemas/MachineCalibration'
description: The provider's own published calibration summary. Present only for brand-kept machines whose provider publishes one (today `ibm`) and only once it has been read; the key is absent otherwise.
MachineProperties:
type: object
description: '`GET /v1/machines/{id}/properties` — what to compile against, the machine''s pricing basis and, when the quantum service can read it, its topology right now.'
properties:
targetId:
type: string
example: roro.sim.sv
displayName:
type: string
example: RoRo Statevector Simulator
provider:
type: string
description: As in `Machine.provider`.
example: roro
kind:
type: string
enum:
- sim
- qpu
example: sim
type:
type: string
enum:
- aer
- qsimulator
- qtester
- qpu
example: aer
qubits:
type: integer
example: 22
nativeGates:
type: array
items:
type: string
description: What the hardware physically executes.
example:
- rz
- sx
- x
- cz
- measure
acceptedGates:
type: array
items:
type: string
description: What the API accepts for this machine — the server transpiles the rest.
example:
- h
- x
- y
- z
- rx
- ry
- rz
- cx
- cz
- measure
connectivity:
type: string
enum:
- all-to-all
- nearest-neighbour
- programmable
- limited
example: all-to-all
minShots:
type: integer
description: The smallest shot count this backend accepts.
example: 1
maxShots:
type: integer
description: The largest shot count this backend accepts.
example: 100000
modality:
type: string
enum:
- simulator
- superconducting
- trapped-ion
- neutral-atom
example: simulator
availability:
type: string
example: Always on — instant, exact simulation.
analog:
type: boolean
example: false
resilience:
type: array
items:
type: string
enum:
- readout
- zne
- dd
- twirling
description: Error-mitigation methods a run on this machine may request right now (`resilience` on a run). Empty when none — `resilienceNote` says why.
example:
- readout
- zne
resilienceNote:
type: string
description: Why nothing is offered (e.g. an exact simulator has no readout error to mitigate), or a note on what is (e.g. a layout hint is advisory). Empty when there is nothing to add.
example: ''
resilienceState:
type: string
enum:
- offered
- switched-off-by-operator
- not-offered
description: '`offered`; `switched-off-by-operator` (available on this class of machine, switched off right now); `not-offered` (does not apply here).'
example: offered
resilienceMaxEffectiveShots:
type:
- integer
- 'null'
description: The most shot-equivalents one resilience run may bill here; null when nothing is offered.
example: 12000
calibration:
allOf:
- $ref: '#/components/schemas/MachineCalibration'
description: The provider's own published calibration summary. Present only for brand-kept machines whose provider publishes one (today `ibm`) and only once it has been read; the key is absent otherwise.
priceModel:
type: string
enum:
- free
- per-shot
- per-second
- per-job
description: 'How this machine prices a run: `free` (RoRo''s own simulators), `per-shot` (every rate below is 0), `per-second` (a rate per projected quantum-second, usually with a per-job minimum), or `per-job` (a job fee or minimum on top of the per-shot rate). These are RATES; what a run costs is what `POST /v1/runs/quote` answers.'
example: per-shot
costPerSecond:
type: number
format: double
description: Credits per projected quantum-second (0 when the machine has no time rate).
example: 0
costPerJob:
type: number
format: double
description: Credits added to every job (0 when none).
example: 0
minJobCredits:
type: number
format: double
description: The least a job costs, in credits (0 when there is no floor).
example: 0
topology:
allOf:
- $ref: '#/components/schemas/MachineTopology'
description: What the quantum service can route a circuit onto right now. The key is absent when it could not be read (never a stale or guessed map).
MachineCalibration:
type: object
description: Calibration summary as the provider publishes it (brand-kept machines only). Figures are refreshed by a periodic sync; `syncedAt` is when they were last actually read — a figure the provider stopped reporting keeps its old timestamp.
properties:
processorType:
type:
- string
- 'null'
description: Processor family and revision.
example: Heron r2
twoQubitErrorMedian:
type:
- number
- 'null'
format: double
description: Median two-qubit gate error, as a fraction (0.0035 = 0.35 %).
example: 0.0035
readoutErrorMedian:
type:
- number
- 'null'
format: double
description: Median readout (measurement) error, as a fraction.
example: 0.012
syncedAt:
type:
- string
- 'null'
format: date-time
description: When these figures were last read from the provider.
example: '2026-09-23T10:00:00Z'
Error:
type: object
required:
- error
- code
- requestId
description: Every error answer (0.8.0). A route may add fields of its own after these three.
properties:
error:
type: string
example: Insufficient credits for this run
code:
type: string
description: 'The stable reason: an AI refusal''s own `ai_*` code, else the status''s generic one (see the API description, One error shape). An open list: codes are added over time, so a client must accept one it does not know.'
x-extensible-enum:
- ai_paused_cap
- ai_paused_month
- ai_disabled
- ai_daily_cap
- ai_unavailable
- ai_unpriced
- ai_timeout
- ai_rate_limited
- ai_bad_request
- ai_upstream
- ai_search_disabled
- bad_request
- unauthorized
- payment_required
- forbidden
- not_found
- method_not_allowed
- not_acceptable
- conflict
- gone
- precondition_failed
- payload_too_large
- unsupported_media_type
- unprocessable
- precondition_required
- rate_limited
- not_implemented
- bad_gateway
- unavailable
- timeout
- server_error
- error
example: payment_required
requestId:
type: string
description: The call's id, also in the `X-Request-Id` response header. Quote it when reporting a problem.
example: 3f2c9a1e0b7d4c5e8f6a1b2c3d4e5f60
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key created in the console, e.g. `qcs_live_…`.