# Quantum Circuit Lint

> Quantum Circuit Lint is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.010038/call, status unknown (last checked 2026-10-15).

Statically lints a quantum circuit (up to 128 gates on up to 8 qubits) for arity, target, angle, and post-measurement errors, returning scheduling depth.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/compute/quantum/circuit-lint?utm_source=zero.xyz
- Price: $0.010038/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantum-circuit-lint-0f32df63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SRtchXshbLLsITRoQZzu7

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-lint-0f32df63 -d '<json body>'
```

Example prompt: Can you lint my quantum circuit for errors — it uses 4 qubits and 12 gate operations (all synthetic data), and I want to catch any arity, angle, or post-measurement issues and see the scheduling depth?

## When to prefer this

Choose this endpoint when you need fast static analysis of a quantum circuit's gate declarations without running a full simulation or equivalence proof. Ideal for catching structural errors (arity, target, angle, post-measurement) early in the development cycle, especially for circuits up to 8 qubits and 128 gates.

## Known failure modes

- Exceeds 8-qubit limit — request rejected
- Operations array exceeds 128 items — validation error
- Invalid dataClass enum value — schema rejection
- Malformed gate operation objects in the operations array
- Missing required fields (qubits, operations) — 400 error
- Payment failure via x402 — 402 response

## How this service works

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. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.

## Output

Returns a lint report identifying arity, target, angle, and post-measurement errors in the declared gate operations, along with the computed scheduling depth of the circuit. Results are retained for 24 hours; receipt metadata is stored for 90 days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "qubits": {
   "type": "integer",
   "maximum": 8,
   "minimum": 1
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  },
  "operations": {
   "type": "array",
   "maxItems": 128,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantum-circuit-lint-0f32df63/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)
