qunicorn_core.core.pilotmanager.pilot_manager module
- qunicorn_core.core.pilotmanager.pilot_manager.check_if_device_available_from_provider(device: DeviceDataclass | DeviceDto, token: str | None) bool
Checks if a device is currently available at the cloud provider
- qunicorn_core.core.pilotmanager.pilot_manager.get_device_data_from_provider(device: DeviceDataclass | DeviceDto, token: str | None) dict
Gets the data of a single device by requesting it from the cloud provider
- qunicorn_core.core.pilotmanager.pilot_manager.get_matching_pilot(provider_name: str) Pilot
Get the pilot that matches the provider name, if no pilot matches raise an error
- qunicorn_core.core.pilotmanager.pilot_manager.provider_name_map = {'IBM': 'ibmq'}
“This Class is responsible for managing the pilots and their data, all pilots are saved in the PILOTS list
- qunicorn_core.core.pilotmanager.pilot_manager.save_default_jobs_and_devices_from_provider(include_default_jobs=True)
Get all default data from the pilots and save them to the database