9595
9696class QaasV1Alpha1API (API ):
9797 """
98- This API allows you to manage Scaleway Quantum as a Service .
98+ This API allows you to allocate and program Quantum Processing Units (QPUs) to run quantum algorithms .
9999 """
100100
101101 async def get_job (
@@ -105,7 +105,7 @@ async def get_job(
105105 ) -> Job :
106106 """
107107 Get job information.
108- Retrieve information about the provided **job ID**, such as status, payload, and result .
108+ Retrieve information about the provided **job ID**, mainly used to get the current status .
109109 :param job_id: Unique ID of the job you want to get.
110110 :return: :class:`Job <Job>`
111111
@@ -135,7 +135,7 @@ async def wait_for_job(
135135 ) -> Job :
136136 """
137137 Get job information.
138- Retrieve information about the provided **job ID**, such as status, payload, and result .
138+ Retrieve information about the provided **job ID**, mainly used to get the current status .
139139 :param job_id: Unique ID of the job you want to get.
140140 :return: :class:`Job <Job>`
141141
@@ -173,7 +173,7 @@ async def list_jobs(
173173 ) -> ListJobsResponse :
174174 """
175175 List all jobs within a project or session.
176- Retrieve information about all jobs within a given project or session.
176+ Retrieve information about all jobs within a given session.
177177 :param session_id: List jobs with this session ID.
178178 One-Of ('resource_id'): at most one of 'session_id', 'project_id' could be set.
179179 :param project_id: List jobs with this project ID.
@@ -222,7 +222,7 @@ async def list_jobs_all(
222222 ) -> list [Job ]:
223223 """
224224 List all jobs within a project or session.
225- Retrieve information about all jobs within a given project or session.
225+ Retrieve information about all jobs within a given session.
226226 :param session_id: List jobs with this session ID.
227227 One-Of ('resource_id'): at most one of 'session_id', 'project_id' could be set.
228228 :param project_id: List jobs with this project ID.
@@ -343,7 +343,7 @@ async def create_job(
343343 ) -> Job :
344344 """
345345 Create a job.
346- Create a job to be executed inside a session.
346+ Create a job to be executed inside a QPU session.
347347 :param name: Name of the job.
348348 :param session_id: Session in which the job is executed.
349349 :param circuit: Quantum circuit that should be executed.
@@ -642,7 +642,7 @@ async def get_session(
642642 ) -> Session :
643643 """
644644 Get session information.
645- Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs .
645+ Retrieve information about the provided **session ID**, such as name and status .
646646 :param session_id: Unique ID of the session.
647647 :return: :class:`Session <Session>`
648648
@@ -672,7 +672,7 @@ async def wait_for_session(
672672 ) -> Session :
673673 """
674674 Get session information.
675- Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs .
675+ Retrieve information about the provided **session ID**, such as name and status .
676676 :param session_id: Unique ID of the session.
677677 :return: :class:`Session <Session>`
678678
@@ -710,7 +710,7 @@ async def list_sessions(
710710 ) -> ListSessionsResponse :
711711 """
712712 List all sessions.
713- Retrieve information about all sessions.
713+ Retrieve information about all QPU sessions.
714714 :param platform_id: List sessions that have been created for this platform.
715715 :param tags: List sessions with these tags.
716716 :param page: Page number.
@@ -753,7 +753,7 @@ async def list_sessions_all(
753753 ) -> list [Session ]:
754754 """
755755 List all sessions.
756- Retrieve information about all sessions.
756+ Retrieve information about all QPU sessions.
757757 :param platform_id: List sessions that have been created for this platform.
758758 :param tags: List sessions with these tags.
759759 :param page: Page number.
@@ -798,7 +798,7 @@ async def create_session(
798798 ) -> Session :
799799 """
800800 Create a session.
801- Create a dedicated session for the specified platform.
801+ Create a new QPU session for the specified platform. Once ready, jobs can be sent to this session .
802802 :param platform_id: ID of the Platform for which the session was created.
803803 :param project_id: ID of the Project in which the session was created.
804804 :param name: Name of the session.
@@ -896,7 +896,7 @@ async def terminate_session(
896896 ) -> Session :
897897 """
898898 Terminate an existing session.
899- Terminate a session by its unique ID and cancel all its attached jobs and booking .
899+ Terminate a session by its unique ID and cancel all its attached jobs and bookings .
900900 :param session_id: Unique ID of the session.
901901 :return: :class:`Session <Session>`
902902
@@ -926,7 +926,7 @@ async def delete_session(
926926 ) -> None :
927927 """
928928 Delete an existing session.
929- Delete a session by its unique ID and delete all its attached job and booking .
929+ Delete a session by its unique ID and delete all its attached jobs and bookings .
930930 :param session_id: Unique ID of the session.
931931
932932 Usage:
0 commit comments