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