# RQM Provider Result Compare

> RQM Provider 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 sets of bounded quantum provider measurement results using probability normalization and configurable difference rules (total variation distance and bin error thresholds).

## Facts

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

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-provider-result-compare-dd194cb7 -d '<json body>'
```

Example prompt: Compare these two sets of quantum measurement counts — left: {"00":512,"11":488} and right: {"00":498,"11":502} — using probability normalization, with a maximum total variation distance of 0.05 and a maximum bin error of 0.03, and tell me if they agree.

## When to prefer this

Use this endpoint when you need to statistically compare two sets of quantum measurement count distributions (e.g. from two different quantum hardware providers or two runs of the same circuit) with configurable tolerance rules. This is specifically designed for bounded quantum result comparison with probability normalization and is not suitable for live provider availability checks, real-time queue monitoring, or non-quantum distribution comparisons.

## Known failure modes

- Input count maps exceed 256 bins (maxProperties limit)
- Either left_counts or right_counts is empty
- Normalization value is not the supported constant 'probability'
- maximum_total_variation_distance or maximum_bin_error out of [0,1] range
- Idempotency key format mismatch (pattern violation)
- max_total_price string format invalid
- Payment insufficient or x402 payment protocol failure

## How this service works

Provider Result Compare: Compare these bounded provider results using the supplied normalization and difference rules. Use when: Use when a bounded request matches rqm.studio.provider-result-compare-request.v1 and the caller needs the d... Returns: normalized deltas, probability metrics, caller-rule 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 bounded provider measurement count distributions agree within the specified thresholds. Includes computed total variation distance, per-bin error metrics, and a pass/fail determination based on the supplied maximum_total_variation_distance and maximum_bin_error rules, using probability normalization.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request": {
   "type": "object",
   "title": "ProviderResultCompareRequest",
   "required": [
    "left_counts",
    "right_counts",
    "normalization",
    "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_counts": {
     "type": "object",
     "title": "Left Counts",
     "maxProperties": 256,
     "minProperties": 1,
     "additionalProperties": {
      "type": "integer"
     }
    },
    "right_counts": {
     "type": "object",
     "title": "Right Counts",
     "maxProperties": 256,
     "minProperties": 1,
     "additionalProperties": {
      "type": "integer"
     }
    },
    "normalization": {
     "type": "string",
     "const": "probability",
     "title": "Normalization"
    }
   },
   "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-provider-result-compare-dd194cb7/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)
