Skip to content

bloqade.qasm2.cx

← Module overview

functioncxsource

bloqade.qasm2.cx

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

Controlled-X (CNOT) gate.

Parameters

NameTypeDescription
ctrlQubitThe control qubit.
qargQubitThe target qubit.
source