Skip to content

bloqade.stim.dialects.auxiliary.stmts.const.ConstFloat

← Module overview

classConstFloatsource

bloqade.stim.dialects.auxiliary.stmts.const.ConstFloat

Bases: ir.Statement

IR Statement representing a constant float value.

class ConstFloat

Attributes

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

methodprint_implsource

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

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source