Skip to content

bloqade.qasm3.dialects.expr.stmts.Cos

← Module overview

classCossource

bloqade.qasm3.dialects.expr.stmts.Cos

Bases: ir.Statement

Take the cosine of a number.

class Cos

Attributes

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