iqm.iqm_client.models.SingleQubitMapping#

class iqm.iqm_client.models.SingleQubitMapping(*, logical_name: str, physical_name: str)#

Bases: BaseModel

Mapping of a logical qubit name to a physical qubit name.

Attributes

model_config

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

logical_name

logical qubit name

physical_name

physical qubit name

Methods

Parameters:
  • logical_name (str) –

  • physical_name (str) –

logical_name: str#

logical qubit name

physical_name: str#

physical qubit name

model_config: ClassVar[ConfigDict] = {}#

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