Skip to content

bloqade.native.stdlib.simple.rx

← Module overview

functionrxsource

bloqade.native.stdlib.simple.rx

def rx(angle: float, qubit: qubit.Qubit)

Apply an RX rotation gate on a single qubit.

Parameters

NameTypeDescription
anglefloatRotation angle in radians.
qubitqubit.QubitThe qubit to apply the rotation to.
source