qunicorn_core.core.pilotmanager.rigetti_pilot module
- class qunicorn_core.core.pilotmanager.rigetti_pilot.RigettiPilot
Bases:
PilotThe 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
- 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