bloqade.qasm2.cry
← Module overview
function
source
functioncry¶source
bloqade.qasm2.cry
def cry(ctrl: Qubit, qarg: Qubit, lam: float) -> NoneControlled Ry rotation gate.
Parameters
| Name | Type | Description |
|---|---|---|
ctrl | Qubit | The control qubit. |
qarg | Qubit | The target qubit. |
lam | float | The angle of rotation. |