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