bloqade.qasm3.dialects.expr.stmts.Sqrt
← Module overview
class
classSqrt¶source
bloqade.qasm3.dialects.expr.stmts.Sqrt
Bases: ir.Statement
Take the square root of a number.
class SqrtAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'sqrt' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
value | ir.SSAValue | info.argument(PyNum) | |
result | ir.ResultValue | info.result(types.Float) |