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