Skip to content

bloqade.qasm2.dialects.expr.stmts.Mul

← Module overview

classMulsource

bloqade.qasm2.dialects.expr.stmts.Mul

Bases: ir.Statement

Multiply two numbers.

class Mul

Attributes

NameTypeDefaultDescription
name—'mul'
traits—frozenset({lowering.FromPythonCall()})
lhsir.SSAValueinfo.argument(PyNum)lhs (Union[int, float]): The left-hand side of the multiplication.
rhsir.SSAValueinfo.argument(PyNum)rhs (Union[int, float]): The right-hand side of the multiplication.
resultir.ResultValueinfo.result(PyNum)result (Union[int, float]): The result of the multiplication.