qbraid.transpiler.conversions.braket.braket_to_qasm3
- braket_to_qasm3(circuit)[source]
Converts a
braket.circuits.Circuit
to an OpenQASM 3.0 string.- Parameters:
circuit (
Circuit
) – Amazon Braket quantum circuit- Return type:
str
- Returns:
The OpenQASM 3.0 string equivalent to the circuit
- Raises:
ProgramConversionError – If braket to qasm conversion fails