{"uid":"cap_DV8znqIjs5xoD-8j7rRgS","slug":"quantum-circuit-linter-ada9f290","name":"Quantum Circuit Linter","description":"Lint up to 128 declared gates on eight qubits for arity, target, angle and post-measurement errors. Returns scheduling depth; no simulation or equivalence proof.","url":"https://www.mahastrategies.com/api/v1/micro/quantum-circuit-lint?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","qubits","operations"],"properties":{"qubits":{"type":"integer","maximum":8,"minimum":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"operations":{"type":"array","maxItems":128,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["quantum-circuit-lint"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["33001"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.033001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.033001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.033001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.033001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gAKMTfXu3XMdlO2j-NVNx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.033001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lints up to 128 quantum gate operations on up to 8 qubits for arity, target, angle, and post-measurement errors, returning scheduling depth and gate boundary positions.","exampleAgentPrompt":"Can you lint my 3-qubit quantum circuit with these 12 gate operations — it's synthetic data — and tell me if there are any arity, angle, or post-measurement errors and what the scheduling depth comes out to?","exampleUseCases":[{"title":"Pre-hardware circuit validation","prompt":"I've written a quantum circuit with 5 qubits and 40 gate operations and I want to check it for any arity or target errors before I submit it to a real quantum backend — can you lint it for me? The data is synthetic."},{"title":"Scheduling depth estimation","prompt":"Can you analyze this 8-qubit quantum circuit with 100 gate operations and tell me the scheduling depth? I need to know how deep the circuit is before optimizing it. Mark it as public data."},{"title":"Catching post-measurement gate errors","prompt":"I think there might be post-measurement gate errors in my 2-qubit circuit — it has 15 operations and I've been getting weird results. Can you run a lint check on it and flag any issues? Data class is synthetic."}],"resultDescription":"Returns a structured result with scheduling depth, an array of gate boundary positions (up to 128 entries), an offer ID, version string, input digest, receipt digest, and amount charged in base units. The result object contains detailed linting findings including error types and locations.","failureModes":["More than 128 operations submitted — rejected with validation error","Qubit count exceeds maximum of 8 — schema validation failure","Invalid gate operation structure — malformed operation rejected","Invalid data class value outside allowed enum — request rejected","Empty operations array — minimum 1 operation required"],"whenToPreferThis":"Use this endpoint when you need fast, static linting of a small quantum circuit (up to 8 qubits, 128 gates) before simulation or hardware execution. It is not a simulator or equivalence prover — choose it for structural validation (arity, angle, target, post-measurement checks) and scheduling depth estimation at low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:12:02.317Z","isFirstParty":false,"canonicalSlug":"quantum-circuit-linter-ada9f290"}