Skip to main content

ZeqCompute

Core computation — select domain, resolve operators, compute R(t), build master equation, return ZeqState with ZeqProof HMAC. Supports algebraic, ODE, and strict modes.

EndpointPOST /api/zeq/compute
Authapi-key
Rate limit60/min + daily plan limit
Categorycompute

Parameters

NameTypeRequiredDescription
domainstringNoDomain name or prefix (e.g. 'quantum mechanics', 'QM').
operatorsarrayNoOperator IDs (max 10). If omitted, intent-aware selection picks 4.
inputsobjectNoNamed numeric inputs.
modestringNo'algebraic' (default), 'ode' (RK4 solver), or 'strict' (auto-tune β).
promptstringNoNatural 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.