Skip to content

bloqade.squin.stdlib.simple.gate.rx

← Module overview

functionrxsource

bloqade.squin.stdlib.simple.gate.rx

def rx(angle: float, qubit: Qubit) -> None

Apply an RX rotation gate to a qubit.

Parameters

NameTypeDescription
anglefloatRotation angle in radians.
qubitQubitTarget qubit.
source