Quantum circuit stats
quantum_circuit_statsQubits, gate counts, two-qubit gates and depth of a circuit after rewriting to basic gates, so you know what you are about to run before paying for hardware. The circuit is not run or stored.
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": "quantum_circuit_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qasm | Yes | The circuit as OpenQASM 2.0 or 3.0 text (Qiskit: qasm2.dumps(circuit)) |