Skip to content

bloqade.qasm2.cos

← Module overview

functioncossource

bloqade.qasm2.cos

def cos(value: float) -> float

Cosine math function.

Parameters

NameTypeDescription
valuefloatThe value to take the cosine of.

Returns

floatThe cosine of `value`.

source