bloqade.qbraid.schema.LocalW
← Module overview
class
classLocalW¶source
bloqade.qbraid.schema.LocalW
Bases: Operation
LocalW operation.
class LocalWFields
op_type (str): The type of operation (Literal[“LocalW”]). participants (Tuple[int, …]): The qubit indices that are participating in the local W gate. theta (float): The angle of rotation. phi (float): The angle of rotation.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
op_type | Literal['LocalW'] | Field(init=False, default='LocalW') | |
participants | Tuple[int, ...] | required | |
theta | float | required | |
phi | float | required |