Skip to content

bloqade.qasm3.cx

← Module overview

functioncxsource

bloqade.qasm3.cx

def cx(ctrl: Qubit, qarg: Qubit) -> None

Apply the CNOT (CX) gate.

Parameters

NameTypeDescription
ctrlQubitThe control qubit.
qargQubitThe target qubit.
source