Skip to content

bloqade.qbraid.schema.GateEvent

← Module overview

classGateEventsource

bloqade.qbraid.schema.GateEvent

Bases: BaseModel, Generic[ErrorModelType]

A gate event.

class GateEvent

Fields

error (Union[SingleQubitError[ErrorModelType], CZError[ErrorModelType]]): The error model for the gate event. operation (OperationType): The operation for the gate event.

Attributes

NameTypeDefaultDescription
errorUnion[SingleQubitError[ErrorModelType], CZError[ErrorModelType]]Field(union_mode='left_to_right', discriminator='error_type')
operationOperationTypeField(union_mode='left_to_right', discriminator='op_type')