bloqade.qasm2.parallel.cz
← Module overview
function
source
functioncz¶source
bloqade.qasm2.parallel.cz
Signature
def cz(ctrls: ilist.IList[Qubit, Any] | list, qargs: ilist.IList[Qubit, Any] | list) -> NoneApply a controlled-Z gate to input qubits in parallel.
Parameters
| Name | Type | Description |
|---|---|---|
ctrls | ilist.IList[Qubit, Any] | list | The control qubits. |
qargs | ilist.IList[Qubit, Any] | list | The target qubits. |