Skip to content

bloqade.qasm2.u3

← Module overview

functionu3source

bloqade.qasm2.u3

def u3(qarg: Qubit, theta: float, phi: float, lam: float) -> None

U3 gate, same as u

Parameters

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

Note

See https://arxiv.org/pdf/1707.03429 for definition of angles.

source