qunicorn_core.db.models.device module
- class qunicorn_core.db.models.device.DeviceDataclass(name, num_qubits, is_simulator, is_local, provider, qprov_id=None)
Bases:
DbModelDataclass for storing CloudDevices of a provider
- Attributes:
id (int): The id of the device. (set by the database) name (str): The name of the device. num_qubits (int): The amount of qubits that is available at this device. is_simulator (bool): The information whether the device is a simulator (true) or not (false). is_local (bool): The information whether jobs executed on this device are executed local or not. provider (ProviderDataclass): The provider of this device.
- provider: Mapped[ProviderDataclass]