bloqade.qasm2.u1
← Module overview
function
source
functionu1¶source
bloqade.qasm2.u1
def u1(qarg: Qubit, lam: float) -> None1 Parameter single qubit unitary gate.
This is equivalent to u(0,0,lambda).
Parameters
| Name | Type | Description |
|---|---|---|
qarg | Qubit | The qubit to apply the gate to. |
lam | float | The angle of rotation. |