Skip to content

bloqade.qasm2.parallel.u

← Module overview

functionusource

bloqade.qasm2.parallel.u

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

Apply a U gate to input qubits in parallel.

Parameters

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