qunicorn_core.core package
Subpackages
- qunicorn_core.core.mapper package
- Submodules
- qunicorn_core.core.mapper.deployment_mapper module
- qunicorn_core.core.mapper.device_mapper module
- qunicorn_core.core.mapper.general_mapper module
- qunicorn_core.core.mapper.job_mapper module
- qunicorn_core.core.mapper.provider_assembler_language_mapper module
- qunicorn_core.core.mapper.provider_mapper module
- qunicorn_core.core.mapper.quantum_program_mapper module
- qunicorn_core.core.mapper.result_mapper module
- qunicorn_core.core.mapper.user_mapper module
- Module contents
- qunicorn_core.core.pilotmanager package
- Submodules
- qunicorn_core.core.pilotmanager.aws_pilot module
- qunicorn_core.core.pilotmanager.base_pilot module
PilotPilot.calculate_probabilities()Pilot.cancel()Pilot.cancel_provider_specific()Pilot.create_default_job_with_circuit_and_device()Pilot.execute()Pilot.execute_provider_specific()Pilot.get_device_data_from_provider()Pilot.get_standard_devices()Pilot.get_standard_job_with_deployment()Pilot.get_standard_provider()Pilot.has_same_provider()Pilot.is_device_available()Pilot.provider_namePilot.qubit_binary_to_hex()Pilot.qubits_decimal_to_hex()Pilot.run()Pilot.save_devices_from_provider()Pilot.supported_languages
- qunicorn_core.core.pilotmanager.ibm_pilot module
IBMPilotIBMPilot.cancel_provider_specific()IBMPilot.check_if_env_variable_true_for_experimental()IBMPilot.execute_provider_specific()IBMPilot.get_device_data_from_provider()IBMPilot.get_ibm_provider_and_login()IBMPilot.get_standard_job_with_deployment()IBMPilot.get_standard_provider()IBMPilot.is_device_available()IBMPilot.provider_nameIBMPilot.run()IBMPilot.save_devices_from_provider()IBMPilot.supported_languages
- qunicorn_core.core.pilotmanager.pilot_manager module
- Module contents
- qunicorn_core.core.transpiler package
- Submodules
- qunicorn_core.core.transpiler.preprocessing_manager module
- qunicorn_core.core.transpiler.transpiler_manager module
- Module contents
Submodules
qunicorn_core.core.deployment_service module
- qunicorn_core.core.deployment_service.create_deployment(deployment_dto: DeploymentRequestDto, user_id: str | None = None) DeploymentResponseDto
Create a deployment and save it in the database
- qunicorn_core.core.deployment_service.delete_deployment(deployment_id: int, user_id: str | None = None) DeploymentDto
Remove one deployment by id
- qunicorn_core.core.deployment_service.get_all_deployment_responses(user_id: str | None = None) list[DeploymentResponseDto]
Gets all deployments from a user as responses to clearly arrange them in the frontend
- qunicorn_core.core.deployment_service.get_all_deployments(user_id: str | None = None) list[DeploymentDto]
Gets all deployments that a user is authorized to see
- qunicorn_core.core.deployment_service.get_deployment_by_id(deployment_id: int, user_id: str | None = None) DeploymentDto
Gets one deployment by id if the user is authorized to see it
- qunicorn_core.core.deployment_service.update_deployment(deployment_dto: DeploymentRequestDto, deployment_id: int, user_id: str | None = None) DeploymentDto
Updates one deployment
qunicorn_core.core.device_service module
- qunicorn_core.core.device_service.check_if_device_available(device_id: int, token: str) dict
Checks if the backend is available at the provider currently
- qunicorn_core.core.device_service.get_all_devices() 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
- qunicorn_core.core.device_service.get_device_data_from_provider(device_id: int, token: str) dict
Get the device from the provider and return the configuration as dict
- qunicorn_core.core.device_service.update_devices(device_request: DeviceRequestDto) list[SimpleDeviceDto]
Update all backends for the provider from device_request
qunicorn_core.core.job_manager_service module
- qunicorn_core.core.job_manager_service.cancel_job(job_core_dto)
Check which pilot was used to execute the job and then cancel it there
qunicorn_core.core.job_service module
- qunicorn_core.core.job_service.cancel_job_by_id(job_id, token, user_id: str | None = None) SimpleJobDto
cancel job execution
- qunicorn_core.core.job_service.create_and_run_job(job_request_dto: JobRequestDto, is_asynchronous: bool = False, user_id: str | None = None) SimpleJobDto
First creates a job to let it run afterwards on a pilot
- qunicorn_core.core.job_service.delete_job_data_by_id(job_id, user_id: str | None) JobResponseDto
delete job data from db
- qunicorn_core.core.job_service.delete_jobs_by_deployment_id(deployment_id, user_id: str | None = None) list[SimpleJobDto]
delete all jobs of a deployment that the user is authorized to with the id deployment_id
- qunicorn_core.core.job_service.get_all_jobs(user_id: str | None) list[SimpleJobDto]
get all jobs from the db
- qunicorn_core.core.job_service.get_job_by_id(job_id: int) JobResponseDto
Gets the job from the database service with its id
- qunicorn_core.core.job_service.get_job_queue_items() dict
Get the latest running job and all latest ready jobs
- qunicorn_core.core.job_service.get_jobs_by_deployment_id(deployment_id, user_id: str | None = None) list[SimpleJobDto]
get all jobs of a deployment that the user is authorized to with the id deployment_id
- qunicorn_core.core.job_service.get_latest_ready_jobs(all_jobs: list[JobDataclass]) list[SimpleJobDto]
Get all latest jobs with state ready until reaching the first finished job
- qunicorn_core.core.job_service.get_latest_running_job(all_jobs: list[JobDataclass]) SimpleJobDto | None
Get the latest job with state running, check until reaching the first finished job
- qunicorn_core.core.job_service.re_run_job_by_id(job_id: int, token: str, user_id: str | None = None) SimpleJobDto
Get job from DB, Save it as new job and run it with the new id
- qunicorn_core.core.job_service.run_job_by_id(job_id: int, job_exec_dto: JobExecutePythonFileDto, asyn: bool = False, user_id: str | None = None) SimpleJobDto
EXPERIMENTAL: Get uploaded job from DB, and run it on a provider
- qunicorn_core.core.job_service.run_job_with_celery(job_core_dto: JobCoreDto, is_asynchronous: bool)
Serialize the job and run it with celery
qunicorn_core.core.provider_service module
- qunicorn_core.core.provider_service.get_all_providers() list[ProviderDto]
Gets all Providers from the DB and maps them
- qunicorn_core.core.provider_service.get_provider_by_id(provider_id: int) ProviderDto
Gets a Provider from the DB by its ID and maps it