bloqade.qasm2.dialects.expr.stmts.Tan
← Module overview
class
classTan¶source
bloqade.qasm2.dialects.expr.stmts.Tan
Bases: ir.Statement
Take the tangent of a number.
class TanAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'tan' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
value | ir.SSAValue | info.argument(PyNum) | value (Union[int, float]): The number to take the tangent of. |
result | ir.ResultValue | info.result(types.Float) | result (float): The tangent of the number. |