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