Skip to content

bloqade.qasm2.rx

← Module overview

functionrxsource

bloqade.qasm2.rx

def rx(qarg: Qubit, theta: float) -> None

Single qubit rotation about the X axis on block sphere

Parameters

NameTypeDescription
qargQubitThe qubit to apply the gate to.
thetafloatThe angle of rotation.
source