# RQM Execution Plan Select

> RQM Execution Plan Select 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-15).

Selects the optimal execution plan from a candidate list based on cost, depth, duration limits, and configurable weights.

## Facts

- Endpoint: POST https://jobs.rqmtechnologies.com/x402/buyer-jobs/quantum.execution-plan-select.v1
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rqm-execution-plan-select-ba752a49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PcBiDXntVJVQQKbE4ZSRr

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-execution-plan-select-ba752a49 -d '<json body>'
```

Example prompt: I have 5 candidate quantum execution plans — pick the best one that fits within $0.50 cost, depth 500, and 1800 seconds, weighting cost at 0.6, depth at 0.2, and duration at 0.2.

## When to prefer this

Use this endpoint when you have a pre-enumerated list of candidate quantum execution plans and need a deterministic, constraint-aware selection based on cost, depth, and duration limits with configurable weights. It is ideal for agentic quantum job orchestration where plan feasibility is already known and you need a bounded, reproducible selection decision rather than live provider scheduling or hardware-level execution.

## Known failure modes

- No feasible plan satisfies all constraints — returns empty or error indicating no valid selection
- Invalid weight keys (outside cost/depth/duration enum) cause schema validation failure
- Plan list empty or exceeds 128 items — rejected by schema
- Negative or out-of-range cost/depth/duration values cause validation error
- Malformed target_snapshot_digest (not 64 hex chars) causes rejection
- Payment failure (x402) if insufficient USDC balance or payment not accepted

## How this service works

Execution Plan Select: Select a supported execution plan against the supplied cost, depth, duration limits, and weights. Use when: Use when a bounded request matches rqm.studio.execution-plan-select-request.v1 and the caller needs the dec... Returns: ranked feasible plans, objective scores, selected plan identity. Boundaries: Deterministic bounded local software evidence only; no QPU, live-provider, physical, formal-proof, certif...

## Output

Returns the selected execution plan identifier and supporting metadata indicating which of the supplied candidate plans best satisfies the provided cost, depth, and duration limits under the specified weights. Only feasible plans are considered in the selection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object",
   "title": "PlanSelectionRequest",
   "required": [
    "plans",
    "weights",
    "maximum_cost_usd",
    "maximum_depth",
    "maximum_duration_seconds"
   ],
   "properties": {
    "plans": {
     "type": "array",
     "items": {
      "type": "object",
      "title": "Plan",
      "required": [
       "plan_id",
       "estimated_cost_usd",
       "compiled_depth",
       "estimated_duration_seconds",
       "target_snapshot_digest",
       "feasible"
      ],
      "properties": {
       "shots": {
        "type": "integer",
        "title": "Shots",
        "default": 0,
        "maximum": 10000000,
        "minimum": 0
       },
       "plan_id": {
        "type": "string",
        "title": "Plan Id",
        "maxLength": 128,
        "minLength": 1
       },
       "feasible": {
        "type": "boolean",
        "title": "Feasible"
       },
       "queue_seconds": {
        "type": "number",
        "title": "Queue Seconds",
        "default": 0,
        "maximum": 31536000,
        "minimum": 0
       },
       "compiled_depth": {
        "type": "integer",
        "title": "Compiled Depth",
        "maximum": 1000000,
        "minimum": 0
       },
       "estimate_model_id": {
        "type": "string",
        "title": "Estimate Model Id",
        "default": "caller-supplied-v1",
        "maxLength": 128,
        "minLength": 1
       },
       "estimated_cost_usd": {
        "type": "number",
        "title": "Estimated Cost Usd",
        "maximum": 1000000000,
        "minimum": 0
       },
       "target_snapshot_digest": {
        "type": "string",
        "title": "Target Snapshot Digest",
        "pattern": "^[a-f0-9]{64}$"
       },
       "estimated_duration_seconds": {
        "type": "number",
        "title": "Estimated Duration Seconds",
        "maximum": 31536000,
        "minimum": 0
       },
       "estimated_error_probability": {
        "type": "number",
        "title": "Estimated Error Probability",
        "default": 0,
        "maximum": 1,
        "minimum": 0
       }
      },
      "additionalProperties": false
     },
     "title": "Plans",
     "maxItems": 128,
     "minItems": 1
    },
    "weights": {
     "type": "object",
     "title": "Weights",
     "propertyNames": {
      "enum": [
       "cost",
       "depth",
       "duration",
       "error",
       "queue"
      ]
     },
     "additionalProperties": {
      "type": "number"
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rqm-execution-plan-select-ba752a49/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)
