bloqade.qasm3.cx
← Module overview
function
source
functioncx¶source
bloqade.qasm3.cx
def cx(ctrl: Qubit, qarg: Qubit) -> NoneApply the CNOT (CX) gate.
Parameters
| Name | Type | Description |
|---|---|---|
ctrl | Qubit | The control qubit. |
qarg | Qubit | The target qubit. |