Skip to content

bloqade.qasm3.dialects.expr.stmts.ConstComplex

← Module overview

classConstComplexsource

bloqade.qasm3.dialects.expr.stmts.ConstComplex

Bases: ir.Statement

IR Statement representing a constant complex value.

class ConstComplex

Attributes

NameTypeDefaultDescription
name—'constant.complex'
traits—frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()})
valuecomplexinfo.attribute(types.Complex)
resultir.ResultValueinfo.result(types.Complex)

methodprint_implsource

bloqade.qasm3.dialects.expr.stmts.ConstComplex.print_impl

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source