Skip to content

bloqade.stim.dialects.auxiliary.stmts.const.ConstInt

← Module overview

classConstIntsource

bloqade.stim.dialects.auxiliary.stmts.const.ConstInt

Bases: ir.Statement

IR Statement representing a constant integer value.

class ConstInt

Attributes

NameTypeDefaultDescription
name—'constant.int'
traits—frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()})
valueintinfo.attribute(types.Int)value (int): The constant integer value.
resultir.ResultValueinfo.result(types.Int)result (Int): The result value.

methodprint_implsource

bloqade.stim.dialects.auxiliary.stmts.const.ConstInt.print_impl

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source