# Quantum Circuit Records - Reference Integrity Map

> Quantum Circuit Records - Reference Integrity Map is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.035131/call, status unknown (last checked 2026-10-16).

Validates operand indices, detects repeated operands, and checks references against caller-declared gate arities in a quantum circuit description

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/compute/quantum-circuit-records/reference-integrity-map?utm_source=zero.xyz
- Price: $0.035131/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantum-circuit-records-reference-integrity-map-87d74e34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c32-siWkxTH0Dh0QgaUka

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 quantum-circuit-records-reference-integrity-map-87d74e34 -d '<json body>'
```

Example prompt: Check my quantum circuit for reference integrity issues — I have 4 qubits, 3 declared gates like H, CNOT, and T, and 10 operations; the data is public and non-personal, so flag any bad operand indices, repeated operands, or gate arity mismatches.

## When to prefer this

Choose this endpoint when you need a lightweight, static reference integrity check on a quantum circuit description — specifically to catch operand index errors, repeated operands, and gate arity mismatches — without running any simulation or requiring device access. It is suitable for pre-execution validation pipelines, circuit authoring tools, and educational environments where circuits are described as public or synthetic non-personal metadata and the input is under 32 KiB.

## Known failure modes

- Input exceeds 32 KiB limit — request rejected
- gates or operations arrays outside allowed range (1–32 items) — validation error
- qubitCount outside 1–1024 range — schema rejection
- nonpersonalMetadata not set to true — request rejected
- dataClass not one of 'public' or 'synthetic' — enum validation error
- Malformed or missing required fields — 400 Bad Request

## How this service works

Check operand indices, repeated operands and references to caller-declared gate arities. Register indices are zero-based; instruction names alone do not establish an implemented gate. Caller-supplied public/synthetic nonpersonal metadata only. No quantum simulation, device/API access, execution, calibration measurement, scientific validation or claim of circuit equivalence. Input limit: 32 KiB. Result retention: 24 hours; minimal receipt metadata: 90 days.

## Output

Returns a reference integrity map identifying operand index violations (zero-based), repeated operand occurrences, and mismatches between operation references and caller-declared gate arities. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days. No simulation, execution, or scientific equivalence claims are made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gates": {
   "type": "array",
   "maxItems": 32,
   "minItems": 1
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  },
  "operations": {
   "type": "array",
   "maxItems": 32,
   "minItems": 1
  },
  "qubitCount": {
   "type": "integer",
   "maximum": 1024,
   "minimum": 1
  },
  "nonpersonalMetadata": {
   "type": "boolean",
   "const": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantum-circuit-records-reference-integrity-map-87d74e34/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
