Dream Weaver: race a quantum job across realms
dreamweaver_runRun one quantum optimization on several realms at once and return the winning answer, every realm's timing, and a post-quantum signed attestation (Ed25519 + ML-DSA-87) anchored on chain. Paid per call via x402 when payments are on (see quantum_pricing).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"problem": "<problem>",
"data": "<data>"
},
"name": "dreamweaver_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Problem data in the shape quantum_problems describes | |
| mode | No | first = fastest valid answer wins; best = best answer by the deadline | first |
| shots | No | Measurements (1-100000) | |
| fanout | No | How many realms to use (1-8), fastest first | |
| layers | No | QAOA depth p (1-4) | |
| realms | No | Only these realm_ids (from privilege_directory) | |
| problem | Yes | balance_lines | select_lots | split_conflicts | qubo (see quantum_problems) | |
| hedge_ms | No | first mode: start the top realm alone, add the others after this many ms (or as soon as one fails). 0 = all at once | |
| deadline_s | No | Give up after this many seconds (1-120) | |
| privi_pass | No | Your Privi pass (ppass_...) from inspector_pass; the quantum realm requires one |