Skip to content

bloqade.qasm3.dialects.expr.stmts.Mod

← Module overview

classModsource

bloqade.qasm3.dialects.expr.stmts.Mod

Bases: ir.Statement

Modulo of two numbers.

class Mod

Attributes

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