estimate_tool
Submit a quantum circuit and Pauli observable to compute expectation values. Returns a task ID for asynchronous result retrieval.
Instructions
Submit an expectation-estimation task.
observable is a list like [["ZZ", 1.0], ["XX", 0.5]] (Pauli string + coeff). Returns a task_id; fetch results with get_task_result_tool(task_id, observable).
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>",
"backend_name": "<backend_name>",
"observable": "<observable>"
},
"name": "estimate_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qasm | Yes | ||
| shots | No | ||
| transpile | No | ||
| observable | Yes | ||
| backend_name | Yes | ||
| amplitude_index | No | ||
| optimization_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||