analyze_statevector
Analyze a quantum circuit's state vector to obtain probabilities and amplitudes for each computational basis state.
Instructions
Analyze the quantum state vector of a circuit.
Args: circuit_name: Name of the circuit to analyze
Returns: JSON string with state vector analysis including probabilities and amplitudes
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": "analyze_statevector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circuit_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |