Skip to content

bloqade.qasm2.parallel.rz

← Module overview

functionrzsource

bloqade.qasm2.parallel.rz

def rz(qargs: ilist.IList[Qubit, Any] | list, theta: float) -> None

Apply a RZ gate to input qubits in parallel.

Parameters

NameTypeDescription
qargsilist.IList[Qubit, Any] | listThe target qubits.
thetafloatThe angle theta.
source