qunicorn_core.core.device_service module
- qunicorn_core.core.device_service.check_if_device_available(device_id: int, token: str | None) dict
Checks if the backend is available at the provider currently
- qunicorn_core.core.device_service.get_all_devices(provider: int | None = None, min_qubits: int | None = None, is_simulator: bool | None = None, is_local: bool | None = None) list[SimpleDeviceDto]
Gets all Devices from the DB and maps them
- qunicorn_core.core.device_service.get_device_by_id(device_id: int) DeviceDto
Gets a Device from the DB by its ID and maps it