bloqade.squin.stdlib.broadcast.gate.rx
← Module overview
function
source
functionrx¶source
bloqade.squin.stdlib.broadcast.gate.rx
def rx(angle: float, qubits: ilist.IList[Qubit, Any]) -> NoneApply an RX rotation gate to a group of qubits.
Parameters
| Name | Type | Description |
|---|---|---|
angle | float | Rotation angle in radians. |
qubits | ilist.IList[Qubit, Any] | Target qubits. |