Skip to content

bloqade.qasm3.dialects.expr.stmts.Sub

← Module overview

classSubsource

bloqade.qasm3.dialects.expr.stmts.Sub

Bases: ir.Statement

Subtract two numbers.

class Sub

Attributes

NameTypeDefaultDescription
name—'sub'
traits—frozenset({lowering.FromPythonCall()})
lhsir.SSAValueinfo.argument(PyNum)
rhsir.SSAValueinfo.argument(PyNum)
resultir.ResultValueinfo.result(PyNum)