writer
circuit_to_string
Convert a circuit to its cQASM string representation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
circuit
|
Circuit
|
The circuit to convert. |
required |
Returns:
| Type | Description |
|---|---|
str
|
The cQASM string representation of the circuit. |