run_circuit
Execute a quantum circuit on a simulator and return measurement results as JSON. Input circuit name and shot count to run.
Instructions
Run a quantum circuit on the simulator.
Args: circuit_name: Name of the circuit to run shots: Number of measurement shots
Returns: JSON string with measurement results
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": {
"circuit_name": "<circuit_name>"
},
"name": "run_circuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circuit_name | Yes | ||
| shots | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |