bloqade.qasm2.dialects.expr.stmts.Pow
← Module overview
class
classPow¶source
bloqade.qasm2.dialects.expr.stmts.Pow
Bases: ir.Statement
Take the power of a number.
class PowAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'pow' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
lhs | ir.SSAValue | info.argument(PyNum) | lhs (Union[int, float]): The base. |
rhs | ir.SSAValue | info.argument(PyNum) | rhs (Union[int, float]): The exponent. |
result | ir.ResultValue | info.result(PyNum) | result (Union[int, float]): The result of the power operation. |