@@ -1117,21 +1117,21 @@ type Platform struct {
11171117 // Name: name of the platform.
11181118 Name string `json:"name"`
11191119
1120- // ProviderName: provider name of the platform.
1120+ // ProviderName: name of the technological provider of the platform in lowercase (quandela, pasqal...) .
11211121 ProviderName string `json:"provider_name"`
11221122
1123- // BackendName: name of the running backend over the platform (ascella , qsim, aer...).
1123+ // BackendName: name of the running emulation backend or QPU model of the platform in lowercase (mosaiq , qsim, aer...).
11241124 BackendName string `json:"backend_name"`
11251125
1126- // Type: type of the platform.
1126+ // Type: type of the platform (emulator or qpu) .
11271127 // Default value: unknown_type
11281128 Type PlatformType `json:"type"`
11291129
1130- // Technology: technology used by the platform.
1130+ // Technology: quantum technology used by the platform (trapped-ion, photonic, superconducting qubits...) .
11311131 // Default value: unknown_technology
11321132 Technology PlatformTechnology `json:"technology"`
11331133
1134- // MaxQubitCount: estimated maximum number of qubits supported by the platform.
1134+ // MaxQubitCount: maximum number of qubits supported by the platform (estimated for emulator) .
11351135 MaxQubitCount uint32 `json:"max_qubit_count"`
11361136
11371137 // MaxShotCount: maximum number of shots during a circuit execution.
@@ -1998,7 +1998,7 @@ type UpdateSessionRequest struct {
19981998 Tags * []string `json:"tags,omitempty"`
19991999}
20002000
2001- // This API allows you to manage Scaleway Quantum as a Service .
2001+ // This API allows you to allocate and program Quantum Processing Units (QPUs) to run quantum algorithms .
20022002type API struct {
20032003 client * scw.Client
20042004}
@@ -2010,7 +2010,7 @@ func NewAPI(client *scw.Client) *API {
20102010 }
20112011}
20122012
2013- // GetJob: Retrieve information about the provided **job ID**, such as status, payload, and result .
2013+ // GetJob: Retrieve information about the provided **job ID**, mainly used to get the current status .
20142014func (s * API ) GetJob (req * GetJobRequest , opts ... scw.RequestOption ) (* Job , error ) {
20152015 var err error
20162016
@@ -2079,7 +2079,7 @@ func (s *API) WaitForJob(req *WaitForJobRequest, opts ...scw.RequestOption) (*Jo
20792079 return res .(* Job ), nil
20802080}
20812081
2082- // ListJobs: Retrieve information about all jobs within a given project or session.
2082+ // ListJobs: Retrieve information about all jobs within a given session.
20832083func (s * API ) ListJobs (req * ListJobsRequest , opts ... scw.RequestOption ) (* ListJobsResponse , error ) {
20842084 var err error
20852085
@@ -2149,7 +2149,7 @@ func (s *API) ListJobResults(req *ListJobResultsRequest, opts ...scw.RequestOpti
21492149 return & resp , nil
21502150}
21512151
2152- // CreateJob: Create a job to be executed inside a session.
2152+ // CreateJob: Create a job to be executed inside a QPU session.
21532153func (s * API ) CreateJob (req * CreateJobRequest , opts ... scw.RequestOption ) (* Job , error ) {
21542154 var err error
21552155
@@ -2324,7 +2324,7 @@ func (s *API) ListPlatforms(req *ListPlatformsRequest, opts ...scw.RequestOption
23242324 return & resp , nil
23252325}
23262326
2327- // GetSession: Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs .
2327+ // GetSession: Retrieve information about the provided **session ID**, such as name and status .
23282328func (s * API ) GetSession (req * GetSessionRequest , opts ... scw.RequestOption ) (* Session , error ) {
23292329 var err error
23302330
@@ -2392,7 +2392,7 @@ func (s *API) WaitForSession(req *WaitForSessionRequest, opts ...scw.RequestOpti
23922392 return res .(* Session ), nil
23932393}
23942394
2395- // ListSessions: Retrieve information about all sessions.
2395+ // ListSessions: Retrieve information about all QPU sessions.
23962396func (s * API ) ListSessions (req * ListSessionsRequest , opts ... scw.RequestOption ) (* ListSessionsResponse , error ) {
23972397 var err error
23982398
@@ -2429,7 +2429,7 @@ func (s *API) ListSessions(req *ListSessionsRequest, opts ...scw.RequestOption)
24292429 return & resp , nil
24302430}
24312431
2432- // CreateSession: Create a dedicated session for the specified platform.
2432+ // CreateSession: Create a new QPU session for the specified platform. Once ready, jobs can be sent to this session .
24332433func (s * API ) CreateSession (req * CreateSessionRequest , opts ... scw.RequestOption ) (* Session , error ) {
24342434 var err error
24352435
@@ -2484,7 +2484,7 @@ func (s *API) UpdateSession(req *UpdateSessionRequest, opts ...scw.RequestOption
24842484 return & resp , nil
24852485}
24862486
2487- // TerminateSession: Terminate a session by its unique ID and cancel all its attached jobs and booking .
2487+ // TerminateSession: Terminate a session by its unique ID and cancel all its attached jobs and bookings .
24882488func (s * API ) TerminateSession (req * TerminateSessionRequest , opts ... scw.RequestOption ) (* Session , error ) {
24892489 var err error
24902490
@@ -2511,7 +2511,7 @@ func (s *API) TerminateSession(req *TerminateSessionRequest, opts ...scw.Request
25112511 return & resp , nil
25122512}
25132513
2514- // DeleteSession: Delete a session by its unique ID and delete all its attached job and booking .
2514+ // DeleteSession: Delete a session by its unique ID and delete all its attached jobs and bookings .
25152515func (s * API ) DeleteSession (req * DeleteSessionRequest , opts ... scw.RequestOption ) error {
25162516 var err error
25172517
0 commit comments