bloqade.qasm2.dialects.expr.stmts.Mul
← Module overview
class
classMul¶source
bloqade.qasm2.dialects.expr.stmts.Mul
Bases: ir.Statement
Multiply two numbers.
class MulAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'mul' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
lhs | ir.SSAValue | info.argument(PyNum) | lhs (Union[int, float]): The left-hand side of the multiplication. |
rhs | ir.SSAValue | info.argument(PyNum) | rhs (Union[int, float]): The right-hand side of the multiplication. |
result | ir.ResultValue | info.result(PyNum) | result (Union[int, float]): The result of the multiplication. |