# RQM Simulation Result Compare

> RQM Simulation Result Compare 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).

Compares two bounded quantum simulation probability distributions using deterministic rules for total variation distance and per-bin error tolerances.

## Facts

- Endpoint: POST https://jobs.rqmtechnologies.com/x402/buyer-jobs/quantum.simulation-result-compare.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-simulation-result-compare-d0e931b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_POrOY3CITNuUiJlYn-pSN

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-simulation-result-compare-d0e931b5 -d '<json body>'
```

Example prompt: Compare these two quantum simulation probability distributions — left: {'00':0.5,'11':0.5} and right: {'00':0.48,'11':0.52} — using a maximum total variation distance of 0.05 and a maximum bin error of 0.03, and tell me if they agree within those bounds.

## When to prefer this

Use this endpoint when you need a deterministic, rule-based comparison of two quantum simulation probability distributions — particularly when you need to assert equivalence within declared tolerance bounds (total variation distance and per-bin error). Prefer this over manual comparison scripts when working within the RQM Technologies ecosystem or when you need a paid, auditable, idempotent comparison result. Not suitable for live hardware results, real-time provider state, or non-simulation data.

## Known failure modes

- Probability distributions with different bin keys may cause comparison errors or unexpected results
- Input probabilities that don't sum to 1.0 may produce invalid comparison metrics
- Exceeding the 256-property limit on either distribution returns a validation error
- Invalid idempotency key format (not matching pattern) causes request rejection
- max_total_price too low results in payment rejection
- Missing required fields (left_probabilities, right_probabilities, or rules) returns schema validation error

## How this service works

Simulation Result Compare: Compare these bounded simulation results using the supplied deterministic probability rules. Use when: Use when a bounded request matches rqm.studio.simulation-result-compare-request.v1 and the caller needs the... Returns: probability deltas, distance metrics, threshold verdict. Boundaries: Deterministic bounded local software evidence only; no QPU, live-provider, physical, formal-proof, certif...

## Output

Returns a structured comparison result indicating whether the two probability distributions satisfy the declared deterministic rules, including whether total variation distance is within the specified maximum and whether each bin error falls within the allowed threshold. Likely includes computed distance values and a pass/fail verdict.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object",
   "title": "SimulationResultCompareRequest",
   "required": [
    "left_probabilities",
    "right_probabilities",
    "rules"
   ],
   "properties": {
    "rules": {
     "type": "object",
     "title": "ProbabilityRules",
     "required": [
      "maximum_total_variation_distance",
      "maximum_bin_error"
     ],
     "properties": {
      "maximum_bin_error": {
       "type": "number",
       "title": "Maximum Bin Error",
       "maximum": 1,
       "minimum": 0
      },
      "maximum_total_variation_distance": {
       "type": "number",
       "title": "Maximum Total Variation Distance",
       "maximum": 1,
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "left_configuration": {
     "type": "object",
     "title": "Left Configuration",
     "maxProperties": 32,
     "additionalProperties": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "integer"
       },
       {
        "type": "number"
       },
       {
        "type": "boolean"
       }
      ]
     }
    },
    "left_probabilities": {
     "type": "object",
     "title": "Left Probabilities",
     "maxProperties": 256,
     "minProperties": 1,
     "additionalProperties": {
      "type": "number"
     }
    },
    "right_configuration": {
     "type": "object",
     "title": "Right Configuration",
     "maxProperties": 32,
     "additionalProperties": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "integer"
       },
       {
        "type": "number"
       },
       {
        "type": "boolean"
       }
      ]
     }
    },
    "right_probabilities": {
     "type": "object",
     "title": "Right Probabilities",
     "maxProperties": 256,
     "minProperties": 1,
     "additionalProperties": {
      "type": "number"
     }
    }
   },
   "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-simulation-result-compare-d0e931b5/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)
