Skip to content

bloqade.qasm2.sqrt

← Module overview

functionsqrtsource

bloqade.qasm2.sqrt

def sqrt(value: float) -> float

Square root math function.

Parameters

NameTypeDescription
valuefloatThe value to take the square root of.

Returns

floatThe square root of `value`.

source