bloqade.qasm2.rx
← Module overview
function
source
functionrx¶source
bloqade.qasm2.rx
def rx(qarg: Qubit, theta: float) -> NoneSingle qubit rotation about the X axis on block sphere
Parameters
| Name | Type | Description |
|---|---|---|
qarg | Qubit | The qubit to apply the gate to. |
theta | float | The angle of rotation. |