bloqade.squin.stdlib.simple.gate.rx
← Module overview
function
source
functionrx¶source
bloqade.squin.stdlib.simple.gate.rx
def rx(angle: float, qubit: Qubit) -> NoneApply an RX rotation gate to a qubit.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubit | Qubit | Target qubit. |