bloqade.native.stdlib.simple.ry
← Module overview
function
source
functionry¶source
bloqade.native.stdlib.simple.ry
def ry(angle: float, qubit: qubit.Qubit)Apply an RY rotation gate on a single qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubit | qubit.Qubit | The qubit to apply the rotation to. |