bloqade.qasm3.dialects.uop.stmts.UGate
← Module overview
class
classUGate¶source
bloqade.qasm3.dialects.uop.stmts.UGate
Bases: SingleQubitGate
Apply a general single qubit unitary gate U(theta, phi, lam).
class UGateAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'U' | |
theta | ir.SSAValue | info.argument(PyNum) | theta (float): The theta parameter. |
phi | ir.SSAValue | info.argument(PyNum) | phi (float): The phi parameter. |
lam | ir.SSAValue | info.argument(PyNum) | lam (float): The lambda parameter. |