app.openqasm3.printer ===================== .. py:module:: app.openqasm3.printer .. autoapi-nested-parse:: Extended printing with support for custom comment nodes. Module Contents --------------- .. py:function:: leqo_dumps(program: openqasm3.ast.QASMNode) -> str Prints the given program as a string. :param program: The program to print :return: The program as a string .. py:class:: LeqoPrinter(stream: io.TextIOBase) QASMNode visitor that allows to print qasm programs including custom nodes.