Skip to content

bloqade.stim.dialects.auxiliary.stmts.const.ConstStr

← Module overview

classConstStrsource

bloqade.stim.dialects.auxiliary.stmts.const.ConstStr

Bases: ir.Statement

IR Statement representing a constant str value.

class ConstStr

Attributes

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

methodprint_implsource

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

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source