bloqade.qasm2.parallel.rz
← Module overview
function
source
functionrz¶source
bloqade.qasm2.parallel.rz
def rz(qargs: ilist.IList[Qubit, Any] | list, theta: float) -> NoneApply a RZ gate to input qubits in parallel.
Parameters
| Name | Type | Description |
|---|---|---|
qargs | ilist.IList[Qubit, Any] | list | The target qubits. |
theta | float | The angle theta. |