Skip to content

bloqade.qasm3.dialects.expr.stmts.Log

← Module overview

classLogsource

bloqade.qasm3.dialects.expr.stmts.Log

Bases: ir.Statement

Take the natural log of a number.

class Log

Attributes

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