Skip to content

bloqade.squin.stdlib.broadcast.gate.rx

← Module overview

functionrxsource

bloqade.squin.stdlib.broadcast.gate.rx

def rx(angle: float, qubits: ilist.IList[Qubit, Any]) -> None

Apply an RX rotation gate to a group of qubits.

Parameters

NameTypeDescription
anglefloatRotation angle in radians.
qubitsilist.IList[Qubit, Any]Target qubits.
source