Skip to content

bloqade.qasm2.crx

← Module overview

functioncrxsource

bloqade.qasm2.crx

def crx(ctrl: Qubit, qarg: Qubit, lam: float) -> None

Controlled Rx rotation gate.

Parameters

NameTypeDescription
ctrlQubitThe control qubit.
qargQubitThe target qubit.
lamfloatThe angle of rotation.
source