Skip to content

bloqade.qasm3.dialects.expr.stmts.ConstBool

← Module overview

classConstBoolsource

bloqade.qasm3.dialects.expr.stmts.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)
resultir.ResultValueinfo.result(types.Bool)