ZeqCompute
Core computation — select domain, resolve operators, compute R(t), build master equation, return ZeqState with ZeqProof HMAC. Supports algebraic, ODE, and strict modes.
| Endpoint | POST /api/zeq/compute |
| Auth | api-key |
| Rate limit | 60/min + daily plan limit |
| Category | compute |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | No | Domain name or prefix (e.g. 'quantum mechanics', 'QM'). |
operators | array | No | Operator IDs (max 10). If omitted, intent-aware selection picks 4. |
inputs | object | No | Named numeric inputs. |
mode | string | No | 'algebraic' (default), 'ode' (RK4 solver), or 'strict' (auto-tune β). |
prompt | string | No | Natural language experiment description (required for ode/strict modes). |
Returns
{ zeqState, result, meta, zeqProof }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"domain": "Quantum Mechanics",
"operators": "[\"QM1\"",
"inputs": "{ mass: 9.109e-31",
"mode": "<mode>",
"prompt": "<prompt>"
}' \
"https://zeqsdk.com/api/zeq/compute"
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-compute.