qunicorn_core.core.pilotmanager.rigetti_pilot module

class qunicorn_core.core.pilotmanager.rigetti_pilot.RigettiPilot

Bases: Pilot

The Rigetti Pilot

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

Cancel execution of a job at the corresponding backend

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_standard_job_with_deployment(device: DeviceDataclass) JobDataclass

Create the standard ProviderDataclass Object for the pilot and return it

get_standard_provider()

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 = 'RIGETTI'
static result_to_dict(results: Sequence[Sequence[int]]) dict

Converts the result of the qvm to a dictionary

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

Execute the job on a local simulator and saves results in the database

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: list[str] = ['QUIL']