compute_density_matrix
Calculate the density matrix of a quantum circuit and analyze its purity and entropy to characterize quantum states.
Instructions
Compute and analyze the density matrix of a quantum circuit.
Args: circuit_name: Name of the circuit to analyze
Returns: JSON string with density matrix analysis including purity and entropy
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": "compute_density_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circuit_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |