qbraid.transpiler.conversions.openqasm3.openqasm3_to_qasm3

openqasm3_to_qasm3(program)[source]

Dumps openqasm3.ast.Program to an OpenQASM 3.0 string

Parameters:

program (openqasm3.ast.Program) – OpenQASM 3.0 AST program

Returns:

OpenQASM 3.0 string

Return type:

str