# boulderopalscaleup.QctrlScaleUpClient.create_device

Source: https://docs.q-ctrl.com/references/boulder-opal-scale-up/boulderopalscaleup/client/create_device

```python
*async* QctrlScaleUpClient.create_device(device_name, device_config)
```

Create and initialize a device for experiments.

### Parameters
* **device_name** (*str*) – The name of the device to be created.
* **device_config** (*Path*) – The file path to the device configuration file.
### Raises
* `ScaleUpClientError` – If the device config is invalid.
* `ScaleUpUserError` – If the layout is unknown, the layout payload is invalid, or a device
      with the given name already exists.
* `ScaleUpServerError` – If the device initialization fails on the server.
