iqm.iqm_client.models.Counts#
- class iqm.iqm_client.models.Counts(*, measurement_keys: list[str], counts: dict[str, int])#
Bases:
BaseModel
Measurement results in the counts representation
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
measurement keys in the order they are concatenated to form the states in counts
counts as a dictionary mapping states represented as bitstrings to the number of shots they were measured
Methods
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].