bloqade.qasm2.u3
← Module overview
function
functionu3¶source
bloqade.qasm2.u3
def u3(qarg: Qubit, theta: float, phi: float, lam: float) -> NoneU3 gate, same as u
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