bloqade.qasm2.p
← Module overview
function
source
functionp¶source
bloqade.qasm2.p
def p(qarg: Qubit, lam: float) -> NonePhase gate.
This is equivalent to u(0,0,lam), and u1(lam)
Parameters
| Name | Type | Description |
|---|---|---|
qarg | Qubit | The qubit to apply the gate to. |
lam | float | The angle of phase. |