bloqade.native.stdlib.simple.rx
← Module overview
function
source
functionrx¶source
bloqade.native.stdlib.simple.rx
def rx(angle: float, qubit: qubit.Qubit)Apply an RX rotation gate on a single qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubit | qubit.Qubit | The qubit to apply the rotation to. |