add_gates
Add quantum gates to a circuit by specifying the circuit name and a list of gate operations, each with type and target qubits.
Instructions
Add quantum gates to a circuit.
Args: circuit_name: Name of the circuit to modify gates: List of gate operations, each with 'type' and 'qubits' keys Supported gates: 'h', 'x', 'y', 'z', 'cx', 'measure', 'measure_all'
Returns: Success message with applied gates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circuit_name | Yes | ||
| gates | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |