# RQM Managed Simulator

> RQM Managed Simulator is a paid API for AI agents from jobs.rqmtechnologies.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Executes a bounded quantum circuit (RQM Circuit IR) on a local managed statevector simulator and returns shot-sampled measurement outcomes.

## Facts

- Endpoint: POST https://jobs.rqmtechnologies.com/x402/buyer-jobs/managed-simulator-v1
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rqm-managed-simulator-8e8287b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CIo0sROiKWj9mRBMbNbIL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rqm-managed-simulator-8e8287b7 -d '<json body>'
```

Example prompt: Simulate this 3-qubit quantum circuit on the RQM statevector simulator with 2048 shots: apply a Hadamard on qubit 0, then a CNOT from qubit 0 to qubit 1, then a CNOT from qubit 1 to qubit 2, and measure all three qubits in the Z basis.

## When to prefer this

Choose this endpoint when you need fast, deterministic, noise-free quantum circuit simulation for circuits up to 16 qubits and 250 operations using the RQM Circuit IR schema. It is ideal for algorithm development, circuit verification, and output distribution checks without access to real quantum hardware. Prefer this over QPU endpoints when reproducibility and cost-efficiency matter and hardware noise is not needed. Use over generic QASM simulators when your workflow is already in the RQM Circuit IR format.

## Known failure modes

- Circuit exceeds 16-qubit or 250-operation limit — validation error returned
- Shots value outside 1–10,000 range — schema validation rejection
- Unsupported gate type requested — enum validation error
- Malformed circuit IR (missing required qubits field) — schema error
- Payment failure or insufficient USDC balance — x402 payment error
- Measurement qubit index out of range for declared circuit width — runtime error

## How this service works

Problem: Execute a bounded RQM Circuit IR circuit on the managed local statevector simulator. Input: JSON with circuit ir. Result: typed counts, probabilities, simulation configuration evidence. Limits: Local software evidence only; 16 qubits; 250 operations.

## Output

Returns shot-sampled measurement outcomes for the submitted quantum circuit: bitstring counts across the requested number of shots, organized by measurement register, as a typed work product matching rqm.studio.managed-simulator-request.v1. Results reflect deterministic local statevector simulation — no hardware noise.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object",
   "title": "McpStudioManagedSimulatorRequest",
   "required": [
    "circuit_ir"
   ],
   "properties": {
    "shots": {
     "type": "integer",
     "title": "Shots",
     "default": 1024,
     "maximum": 10000,
     "minimum": 1
    },
    "target": {
     "type": "string",
     "const": "rqm_statevector",
     "title": "Target",
     "default": "rqm_statevector"
    },
    "circuit_ir": {
     "type": "object",
     "title": "McpStudioCircuit",
     "required": [
      "qubits"
     ],
     "properties": {
      "qubits": {
       "type": "integer",
       "title": "Qubits",
       "maximum": 16,
       "minimum": 1
      },
      "metadata": {
       "type": "object",
       "title": "Metadata",
       "maxProperties": 32,
       "additionalProperties": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "integer"
         },
         {
          "type": "number"
         },
         {
          "type": "boolean"
         },
         {
          "type": "null"
         }
        ]
       }
      },
      "operations": {
       "type": "array",
       "items": {
        "type": "object",
        "title": "McpStudioOperation",
        "required": [
         "gate",
         "targets"
        ],
        "properties": {
         "gate": {
          "enum": [
           "h",
           "x",
           "y",
           "z",
           "s",
           "sdg",
           "t",
           "tdg",
           "rx",
           "ry",
           "rz",
           "cx",
           "cz",
           "swap"
          ],
          "type": "string",
          "title": "Gate"
         },
         "params": {
          "type": "object",
          "title": "Params",
          "maxProperties": 1,
          "additionalProperties": {
           "type": "number"
          }
         },
         "targets": {
          "type": "array",
          "items": {
           "type": "integer"
          },
          "title": "Targets",
          "maxItems": 2,
          "minItems": 1
         },
         "controls": {
          "type": "array",
          "items": {
           "type": "integer"
          },
          "title": "Controls",
          "maxItems": 1
         }
        },
        "additionalProperties": false
       },
       "title": "Operations",
       "maxItems": 250
      },
      "measurements": {
       "type": "array",
       "items": {
        "type": "ob
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rqm-managed-simulator-8e8287b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jobs.rqmtechnologies.com](https://www.zero.xyz/host/jobs.rqmtechnologies.com/llms.txt)
