bloqade.qasm2.dialects.uop.stmts.U2
← Module overview
class
classU2¶source
bloqade.qasm2.dialects.uop.stmts.U2
Bases: SingleQubitGate
Apply the U2 gate.
class U2Attributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'u2' | |
phi | ir.SSAValue | info.argument(PyNum) | phi (float): The phi parameter. |
lam | ir.SSAValue | info.argument(PyNum) | lam (float): The lambda parameter. |