{"uid":"cap_c32-siWkxTH0Dh0QgaUka","slug":"quantum-circuit-records-reference-integrity-map-87d74e34","name":"Quantum Circuit Records - Reference Integrity Map","description":"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.","url":"https://www.mahastrategies.com/api/v1/compute/quantum-circuit-records/reference-integrity-map?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035131","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.035131/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035131","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035131","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kAQ-WJ1KJnluq7P8OcC6Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035131","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates operand indices, detects repeated operands, and checks references against caller-declared gate arities in a quantum circuit description","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-execution circuit sanity check","prompt":"Before I submit this circuit to any backend, can you validate the reference integrity of my 8-qubit circuit with 5 declared gates and 20 operations? The data is synthetic and non-personal — I want to catch any operand index errors or repeated operand problems."},{"title":"Gate arity mismatch detection","prompt":"I defined 6 gates for my quantum circuit and wrote 15 operations on 6 qubits, but I'm not sure if all my gate references match the declared arities. Can you run a reference integrity map on this public, non-personal circuit data and tell me what's mismatched?"},{"title":"Circuit authoring validation workflow","prompt":"I'm building a quantum circuit editor and need to validate user-submitted circuits automatically — here's one with 2 qubits, 2 gates, and 8 operations using public synthetic data; check it for any bad operand indices or invalid gate references."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:24.356Z","isFirstParty":false,"canonicalSlug":"quantum-circuit-records-reference-integrity-map-87d74e34"}