# RQM Two Qubit Target Synthesis

> RQM Two Qubit Target Synthesis is a paid API for AI agents from jobs.rqmtechnologies.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Synthesizes and verifies a bounded target-basis implementation for a supported two-qubit gate operation, optimizing for gate count or circuit depth under specified objectives.

## Facts

- Endpoint: POST https://jobs.rqmtechnologies.com/x402/buyer-jobs/two-qubit-target-synthesis-v1
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rqm-two-qubit-target-synthesis-9d211987
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aSswHAEH7BjGnSauxp1oX

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-two-qubit-target-synthesis-9d211987 -d '<json body>'
```

Example prompt: Synthesize an iSWAP gate using the CX basis, prioritizing two-qubit gate count first then depth, with at most 3 two-qubit gates and exact phase context.

## When to prefer this

Use this endpoint when you need a formally verified, target-basis-specific two-qubit gate decomposition with explicit bounds on gate count and depth optimization objectives. Prefer this over generic transpilers when you require bounded synthesis with a choice of priority between two-qubit gate count and depth, and when the operation is one of the supported standard two-qubit gates (identity, cx, cz, swap, iswap).

## Known failure modes

- Requested gate not in supported set (identity, cx, cz, swap, iswap) — validation error
- Target basis gates not in supported set — validation error
- max_two_qubit_gates set to 0 when non-trivial synthesis is required — infeasible synthesis
- No valid implementation found within the bounded max_two_qubit_gates constraint — synthesis failure
- Invalid phase_radians outside [-2π, 2π] — schema validation error
- Malformed idempotency_key — request rejected

## How this service works

Two Qubit Target Synthesis: Choose and verify a bounded target-basis implementation for this supported two-qubit oper... Use when: Use when a bounded request matches rqm.studio.two-qubit-target-synthesis-request.v1 and the caller needs th... Returns: verified circuit or original-retained outcome, gate count and depth, class and phase verification. Boundaries: Deterministic bounded local software evidence only; no QPU, provider acceptance, certification, formal-pr...

## Output

A verified, bounded circuit implementation of the requested two-qubit operation expressed in the specified target basis, along with gate count and depth metrics satisfying the supplied synthesis objectives.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object",
   "title": "TargetSynthesisRequest",
   "required": [
    "operation",
    "target_basis",
    "phase_context",
    "objectives"
   ],
   "properties": {
    "operation": {
     "type": "object",
     "title": "TwoQubitOperation",
     "required": [
      "gate"
     ],
     "properties": {
      "gate": {
       "enum": [
        "identity",
        "cx",
        "cz",
        "swap",
        "iswap"
       ],
       "type": "string",
       "title": "Gate"
      },
      "phase_radians": {
       "type": "number",
       "title": "Phase Radians",
       "default": 0,
       "maximum": 6.283185307179586,
       "minimum": -6.283185307179586
      }
     },
     "additionalProperties": false
    },
    "objectives": {
     "type": "object",
     "title": "SynthesisObjectives",
     "required": [
      "priority",
      "max_two_qubit_gates"
     ],
     "properties": {
      "priority": {
       "type": "array",
       "items": {
        "enum": [
         "two_qubit_gate_count",
         "depth"
        ],
        "type": "string"
       },
       "title": "Priority",
       "maxItems": 2,
       "minItems": 1
      },
      "max_two_qubit_gates": {
       "type": "integer",
       "title": "Max Two Qubit Gates",
       "maximum": 8,
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "target_basis": {
     "type": "array",
     "items": {
      "enum": [
       "cx",
       "cz",
       "swap",
       "iswap"
      ],
      "type": "string"
     },
     "title": "Target Basis",
     "maxItems": 4,
     "minItems": 1
    },
    "phase_context": {
     "enum": [
      "ignore_global_phase",
      "exact"
     ],
     "type": "string",
     "title": "Phase Context"
    }
   },
   "additionalProperties": false
  },
  "schema_version": {
   "const": "rqm.jobs.bazaar-buyer-job-request.v1"
  },
  "idempotency_key": {
   "type": "string",
   "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
   "maxLength": 128,
   "minLength": 1
  },
  "max_total_price": {
   "type": "string",
   "pattern": "^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rqm-two-qubit-target-synthesis-9d211987/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)
