bloqade.qasm3.dialects.expr.stmts.ConstBool
← Module overview
class
classConstBool¶source
bloqade.qasm3.dialects.expr.stmts.ConstBool
Bases: ir.Statement
IR Statement representing a constant boolean value.
class ConstBoolAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'constant.bool' | |
traits | — | frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()}) | |
value | bool | info.attribute(types.Bool) | |
result | ir.ResultValue | info.result(types.Bool) |