bloqade.qasm2.dialects.expr.stmts.ConstInt
← Module overview
class
method
classConstInt¶source
bloqade.qasm2.dialects.expr.stmts.ConstInt
Bases: ir.Statement
IR Statement representing a constant integer value.
class ConstIntAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'constant.int' | |
traits | — | frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()}) | |
value | int | info.attribute(types.Int) | value (int): The constant integer value. |
result | ir.ResultValue | info.result(types.Int) | result (Int): The result value. |
methodprint_impl¶source
bloqade.qasm2.dialects.expr.stmts.ConstInt.print_impl