bloqade.qbraid.schema.GateEvent
← Module overview
class
classGateEvent¶source
bloqade.qbraid.schema.GateEvent
Bases: BaseModel, Generic[ErrorModelType]
A gate event.
class GateEventFields
error (Union[SingleQubitError[ErrorModelType], CZError[ErrorModelType]]): The error model for the gate event. operation (OperationType): The operation for the gate event.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
error | Union[SingleQubitError[ErrorModelType], CZError[ErrorModelType]] | Field(union_mode='left_to_right', discriminator='error_type') | |
operation | OperationType | Field(union_mode='left_to_right', discriminator='op_type') |