bloqade.qasm2.ccx
← Module overview
function
source
functionccx¶source
bloqade.qasm2.ccx
def ccx(ctrl1: Qubit, ctrl2: Qubit, qarg: Qubit) -> NoneToffoli gate.
Parameters
| Name | Type | Description |
|---|---|---|
ctrl1 | Qubit | The first control qubit. |
ctrl2 | Qubit | The second control qubit. |
qarg | Qubit | The target qubit. |