Skip to content

bloqade.qasm2.u1

← Module overview

functionu1source

bloqade.qasm2.u1

def u1(qarg: Qubit, lam: float) -> None

1 Parameter single qubit unitary gate.

This is equivalent to u(0,0,lambda).

Parameters

NameTypeDescription
qargQubitThe qubit to apply the gate to.
lamfloatThe angle of rotation.
source