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