bloqade.squin.stdlib.simple.gate.cx
← Module overview
function
source
functioncx¶source
bloqade.squin.stdlib.simple.gate.cx
def cx(control: Qubit, target: Qubit) -> NoneApply a controlled-X gate to a pair of qubits.
Parameters
| Name | Type | Description |
|---|---|---|
control | Qubit | |
target | Qubit |