bloqade.squin.stdlib.broadcast.gate.u3
← Module overview
function
source
functionu3¶source
bloqade.squin.stdlib.broadcast.gate.u3
Signature
def u3(theta: float, phi: float, lam: float, qubits: ilist.IList[Qubit, Any])Apply the U3 gate to a group of qubits.
The applied gate is represented by the unitary matrix given by:
Parameters
| Name | Type | Description |
|---|---|---|
theta | float | Rotation around Y axis (radians). |
phi | float | Global phase shift component (radians). |
lam | float | Z rotations in decomposition (radians). |
qubits | ilist.IList[Qubit, Any] | Target qubits. |