bloqade.squin.stdlib.simple.gate.ry
← Module overview
function
source
functionry¶source
bloqade.squin.stdlib.simple.gate.ry
def ry(angle: float, qubit: Qubit) -> NoneApply an RY rotation gate to a qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubit | Qubit | Target qubit. |