bloqade.qasm2.cu1
← Module overview
function
source
functioncu1¶source
bloqade.qasm2.cu1
def cu1(ctrl: Qubit, qarg: Qubit, lam: float) -> NoneControlled phase rotation gate.
Parameters
| Name | Type | Description |
|---|---|---|
ctrl | Qubit | The control qubit. |
qarg | Qubit | The target qubit. |
lam | float | The angle of rotation. |