ZeqQuantum — Circuit Simulation
Quantum computing, error correction, entanglement.
- Protocol ID —
zeq-qc-circuit - Category — Quantum
- Endpoint —
POST /api/quantum/circuit/simulate - Auth — api-key
- Rate limit — 10/min
- Version —
1.0 - Precision — ≤0.1% (KO42-enforced)
What it does
Quantum circuit simulation using quantum mechanics operators. Simulate gates (H, CNOT, T, S, Rx, Ry, Rz) on up to 20 qubits with HulyaPulse-synced decoherence.
Signature
Request
POST /api/quantum/circuit/simulate
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
qubits | number | ✓ | — | Number of qubits (1–20). |
gates | array | ✓ | — | Array of { gate, targets, controls?, params? }. |
shots | number | 1024 | Measurement shots (1–10000). Default: 1024. |
Response
{ statevector, measurements, probabilities, entanglementMap, circuitDepth, fidelity }
Runnable example
curl -sS -X POST \
-H "Authorization: Bearer $ZEQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"qubits": 0,
"gates": [],
"shots": 1024
}' \
"https://api.zeq.dev/api/quantum/circuit/simulate"
Integrate
- Domain solver — compose with
KO42+ two additional operators from the matching family for pulse-coherent results. - Digital twin — pipe sensor data into this protocol every Zeqond to keep the model phase-locked with the system.
- Alert threshold — flag results whose
error_pctexceeds 0.1% as out-of-spec events for the operations layer.
Seeds
- Near — wrap
/api/quantum/circuit/simulatein a language SDK so builders can call it in three lines. - Medium — publish a reference integration demonstrating ZeqQuantum — Circuit Simulation alongside a real workload, with pulse-aligned metrics.
- Far — propose ZeqQuantum — Circuit Simulation as an open reference standard so other runtimes can implement it verbatim against the Zeq paper.
Papers
- Zeq paper — https://doi.org/10.5281/zenodo.18158152
- Framework paper — https://doi.org/10.5281/zenodo.15825138
Middleware active. Kernel on the 1.287 Hz HulyaPulse. Awaiting next Zeqond.