q_simulate
Free tier: Exact dense statevector (<=12Q) and bit-packed Clifford stabilizer (<=256Q) simulator with seeded shots and q0_lsb Pauli expectations.
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": {
"qasm": "<qasm>"
},
"name": "q_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Simulation backend: auto (<=12Q statevector or <=256Q Clifford), statevector, or stabilizer. | |
| qasm | Yes | OpenQASM 2.0 or 3.0 source string. | |
| seed | No | Deterministic Mulberry32 PRNG seed (default 42). | |
| shots | No | Shot samples in [0, 100000] (default 1024). | |
| observables | No | Up to 64 Pauli observable strings over {I,X,Y,Z} in q0_lsb order. |