bloqade.qasm2.cos
← Module overview
function
source
functioncos¶source
bloqade.qasm2.cos
def cos(value: float) -> floatCosine math function.
Parameters
| Name | Type | Description |
|---|---|---|
value | float | The value to take the cosine of. |
Returns
floatThe cosine of `value`.