braket.pulse.ast.qasm_parser module

braket.pulse.ast.qasm_parser.ast_to_qasm(ast: Program) str[source]

Converts an AST program to OpenQASM

Parameters:

ast (ast.Program) – The AST program.

Returns:

str – a str representing the OpenPulse program encoding the program.