bloqade.qasm3.dialects.expr.stmts.Neg
← Module overview
class
classNeg¶source
bloqade.qasm3.dialects.expr.stmts.Neg
Bases: ir.Statement
Negate a number.
class NegAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'neg' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
value | ir.SSAValue | info.argument(PyNum) | |
result | ir.ResultValue | info.result(PyNum) |