Skip to content

bloqade.qasm3.dialects.expr.stmts.Sqrt

← Module overview

classSqrtsource

bloqade.qasm3.dialects.expr.stmts.Sqrt

Bases: ir.Statement

Take the square root of a number.

class Sqrt

Attributes

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