qat.ir.pulse_channel module

class PulseChannel(**data)

Bases: BaseModel

An IR-level representation of a pulse channel.

This holds the properties of a pulse channel that are relevant at compile-time, and decouples it from the hardware model, allowing dynamic representation and creation of hardware models.

Eventually, this might be replaced with a more formal IR operation the declares pulse channels a symbols, with lookups defer to symbol tables.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

frequency: float
imbalance: float
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

phase_iq_offset: float
physical_channel_id: str
scale: float | complex
uuid: str