Skip to content

bloqade.stim.dialects.auxiliary.stmts.const.ConstBool

← Module overview

classConstBoolsource

bloqade.stim.dialects.auxiliary.stmts.const.ConstBool

Bases: ir.Statement

IR Statement representing a constant boolean value.

class ConstBool

Attributes

NameTypeDefaultDescription
name—'constant.bool'
traits—frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()})
valueboolinfo.attribute(types.Bool)value (float): The constant float value.
resultir.ResultValueinfo.result(types.Bool)result (Float): The result value.

methodprint_implsource

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

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source