Skip to content

bloqade.qasm3.dialects.expr.stmts.Neg

← Module overview

classNegsource

bloqade.qasm3.dialects.expr.stmts.Neg

Bases: ir.Statement

Negate a number.

class Neg

Attributes

NameTypeDefaultDescription
name—'neg'
traits—frozenset({lowering.FromPythonCall()})
valueir.SSAValueinfo.argument(PyNum)
resultir.ResultValueinfo.result(PyNum)