Skip to content

bloqade.qasm2.parallel.cz

← Module overview

functionczsource

bloqade.qasm2.parallel.cz

Signature
def cz(ctrls: ilist.IList[Qubit, Any] | list, qargs: ilist.IList[Qubit, Any] | list) -> None

Apply a controlled-Z gate to input qubits in parallel.

Parameters

NameTypeDescription
ctrlsilist.IList[Qubit, Any] | listThe control qubits.
qargsilist.IList[Qubit, Any] | listThe target qubits.
source