qunicorn_core.core.pilotmanager.ibm_pilot module

class qunicorn_core.core.pilotmanager.ibm_pilot.IBMPilot

Bases: Pilot

The IBM Pilot

cancel_provider_specific(job: JobDataclass, token: str | None = None)

Cancel a job on an IBM backend using the IBM Pilot

static check_if_env_variable_true_for_experimental(job: JobDataclass)

EXPERIMENTAL – Raise an error if the experimental env variable is not true and logs a warning

execute_provider_specific(jobs: Sequence[PilotJob], job_type: str, token: str | None = None)

Execute a job of a provider specific type on a backend using a Pilot

get_device_data_from_provider(device: DeviceDataclass | DeviceDto, token: str | None) dict

Get device data for a specific device from the provider

static get_ibm_provider_and_login(token: str | None) QiskitRuntimeService

Save account credentials and get provider

get_standard_job_with_deployment(device: DeviceDataclass) JobDataclass

Create the standard ProviderDataclass Object for the pilot and return it

get_standard_provider() ProviderDataclass

Create the standard ProviderDataclass Object for the pilot and return it

is_device_available(device: DeviceDataclass | DeviceDto, token: str | None) bool

Check if a device is available for a user

provider_name: str = 'IBM'
run(jobs: Sequence[PilotJob], token: str | None = None)

Execute a job local using aer simulator or a real backend

save_devices_from_provider(token: str | None)

Access the devices from the cloud service of the provider, to update the current device list of qunicorn

supported_languages: Sequence[str] = ('QISKIT',)