Skip to content

bloqade.qasm2.dialects.inline.InlineQASM

← Module overview

classInlineQASMsource

bloqade.qasm2.dialects.inline.InlineQASM

Bases: ir.Statement

class InlineQASM(text: str)

Parameters

NameTypeDescription
textstr

Attributes

NameTypeDefaultDescription
name—'text'
traits—frozenset({InlineQASMLowering()})
textstrinfo.attribute(types.String)

methodprint_implsource

bloqade.qasm2.dialects.inline.InlineQASM.print_impl

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source