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