bloqade.qasm2.u
← Module overview
function
functionu¶source
bloqade.qasm2.u
def u(qarg: Qubit, theta: float, phi: float, lam: float) -> NoneU gate.
Parameters
| Name | Type | Description |
|---|---|---|
qarg | Qubit | The qubit to apply the gate to. |
theta | float | The angle of rotation |
phi | float | The angle of rotation |
lam | float | The angle of rotation |
Note
See https://arxiv.org/pdf/1707.03429 for definition of angles.
source