bloqade.qasm3.ry
← Module overview
function
source
functionry¶source
bloqade.qasm3.ry
def ry(qarg: Qubit, theta: float) -> NoneApply the RY rotation gate.
Parameters
| Name | Type | Description |
|---|---|---|
qarg | Qubit | The qubit to apply the gate to. |
theta | float | The rotation angle. |