cqasmv1_exporter
CqasmV1Exporter
Bases: Exporter
Source code in opensquirrel/passes/exporter/cqasmv1_exporter.py
export
Exports the given circuit to the cQASM v1 format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
circuit
|
Circuit
|
The quantum circuit to export. |
required |
Returns:
| Type | Description |
|---|---|
str
|
The cQASM v1 representation of the circuit. |