Skip to content

bloqade.qasm2.dialects.expr.stmts.Exp

← Module overview

classExpsource

bloqade.qasm2.dialects.expr.stmts.Exp

Bases: ir.Statement

Take the exponential of a number.

class Exp

Attributes

NameTypeDefaultDescription
name—'exp'
traits—frozenset({lowering.FromPythonCall()})
valueir.SSAValueinfo.argument(PyNum)value (Union[int, float]): The number to take the exponential of.
resultir.ResultValueinfo.result(types.Float)result (float): The exponential of the number.