Run on quantum hardware
quantum_run_hardwareTrain the CVaR-QAOA circuit, route it to a quantum backend (IonQ, IBM Quantum, Amazon Braket or this server's simulator) by price or speed, and return a job id. When the run finishes, the answer is sealed with a post-quantum signed attestation and a Quantum Advantage Receipt against classical baselines. Poll with quantum_hardware_job. Paid per call via x402 when payments are on (a routing fee, see quantum_pricing). Paid QPUs also need a Quantum Mandate signed by the agent's human (quantum_mandate_request) and run only within the operator's configured budget. A call that is blocked or fails to submit is not charged.
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": "quantum_run_hardware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Problem data in the shape quantum_problems describes | |
| shots | No | Shots on the backend (1-10000) | |
| layers | No | QAOA depth p (1-4) | |
| policy | No | With backend='auto': cheapest | fastest | hardware (real QPUs only) | cheapest |
| backend | No | 'auto' or a backend id from quantum_backends (e.g. ionq:simulator, ionq:qpu.forte-1, ibm:ibm_brisbane) | auto |
| problem | Yes | balance_lines | select_lots | split_conflicts | qubo (see quantum_problems) | |
| mandate_id | No | qm_... Quantum Mandate your human signed; required for any paid backend | |
| privi_pass | No | Your Privi pass (ppass_...); required with a mandate | |
| max_cost_usd | No | Refuse if the estimated price is above this |