ZeqQEC — Quantum Error Correction
Quantum error correction code simulation. Surface codes, Steane codes, and Shor codes with decoherence rates derived from HulyaPulse temporal stability.
| Endpoint | POST /api/quantum/error/correct |
| Auth | api-key |
| Rate limit | 10/min |
| Category | quantum |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | 'surface', 'steane', 'shor', 'repetition'. |
physicalErrorRate | number | Yes | Physical qubit error rate (0–1). |
distance | number | No | Code distance. Default: 3. |
Returns
{ logicalErrorRate, physicalQubits, logicalQubits, threshold, overhead, correctable }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"code": "<code>",
"physicalErrorRate": 0,
"distance": 3
}' \
"https://zeqsdk.com/api/quantum/error/correct"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-qc-error.