device_builder.models.devices

Device models.

This Python module provides definitions of pydantic models for various device types. These include:

  • PureCrystal: crystal with a single atomic species.
  • IonicCrystal: crystal with two atomic species.
  • ProfileAlloyConfiguration: random (binary) alloy with a 1D distribution profile..

Copyright © 2023-2025 HQS Quantum Simulations GmbH. All Rights Reserved.

class Device(pydantic.main.BaseModel):

Basic device model.

model_config: ClassVar[pydantic.config.ConfigDict] = {}

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

class PureCrystal(Device):

Model of a single atomic crystal.

model_config: ClassVar[pydantic.config.ConfigDict] = {}

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

class IonicCrystal(Device):

Model of a (binary) ionic crystal.

model_config: ClassVar[pydantic.config.ConfigDict] = {}

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

class RandomAlloyConfiguration(Device):

Model of the configuration characterizing a random alloy.

model_config: ClassVar[pydantic.config.ConfigDict] = {}

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

class ProfileDistribution(pydantic.main.BaseModel):

Model of a layered binary distribution.

model_config: ClassVar[pydantic.config.ConfigDict] = {}

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

class ProfileAlloyConfiguration(RandomAlloyConfiguration):

Model for a random alloy with a 1D concentration profile.

model_config: ClassVar[pydantic.config.ConfigDict] = {}

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