Skip to content

Commit 8f4da89

Browse files
committed
Merge branch 'pr/14'
2 parents f0d08e7 + 9030ae8 commit 8f4da89

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+927
-159
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,22 @@ celery worker and execute all tasks synchronously.
4949
* **DELETE /jobs/{job_id}/** *(Get details/results of a job)*
5050
* **POST /jobs/run/{job_id}/** *(Executes an uploaded python file)*
5151
* **POST /jobs/rerun/{job_id}/** *(Copies and Runs again an existing Job)*
52+
* **GET /jobs/{deployment_id}/** *(Get all jobs with the given deploymentId)*
53+
* **DELETE /jobs/{deployment_id}/** *(Delete all jobs with the given deploymentId)*
5254

5355
* **DEPLOYMENTS**
5456
* **GET /deployments/** *(Get all Deployments)*
5557
* **POST /deployments/** *(Create a Deployment)*
56-
* **GET /deployments/{job_id}/** *(Gets a Deployment)*
58+
* **GET /deployments/{deployment_id}/** *(Gets a Deployment)*
59+
* **PUT /deployments/{deployment_id}/** *(Update a Deployment)*
60+
* **DELETE /deployments/{deployment_id}/** *(Deletes a Deployment)*
5761

5862
* **DEVICES**
63+
* **GET /devices/** *(Get all currently saved devices)*
5964
* **PUT /devices/** *(Updates the devices, by retrieving them from IBM)*
65+
* **PUT /devices/{device_id}/** *(Get details about one device)*
66+
* **PUT /devices/{device_id}/status** *(To check if a device is running)*
67+
* **PUT /devices/{device_id}/calibration** *(To get some device properties)*
6068

6169
Run the development server with
6270

docs/adr/0003-rest-decisions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Use the HTTP Status Codes and Verbs correctly
2323
* POST: Create/Run/Pause/Cancel a resource
2424
* PUT: Update a resource
2525
* DELETE: Delete a resource
26-
* PATCH: Update a resource partially
26+
* Decision on Patch Verb
27+
* Not used due to similarity to update
2728

2829
<!-- markdownlint-disable-file MD013 -->

docs/glossary.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Glossary
2+
========
3+
4+
**Qunicorn**:
5+
The name of the application that serves as an API for quantum computing request.
6+
7+
**Job**:
8+
The data object that is used to run deployments with their quantum programs on specified provider and store their results
9+
10+
**Deployment**:
11+
The data object that stores information about quantum programs and their configurations.
12+
Is used to register/deploy them, to use them later in multiple jobs.
13+
14+
**Provider**:
15+
An institution that provides quantum computer or simulators.
16+
17+
**Device**:
18+
A single quantum computer that belongs to a provider
19+
20+
**Pilots**:
21+
They are run in a celery-task and are used to communicate with the provider apis and run the jobs there.
22+
23+
**Service**:
24+
Files that belong to the service-layer or core. They calculate or process data, but do not directly communicate with the database.
25+
26+
**QASM-Format**:
27+
The most used format to describe quantum circuits.
28+
29+
**CLI**: Shortcut for command line interface, used for example to initially set up the database with custom commands.
30+
31+
**Celery**:
32+
A python library that is used to run tasks in the background in an asynchronous task queue based on messaging.
33+
It is used to run the quantum programs on the quantum computers.
34+
35+
**Worker**:
36+
Used as a synonym for a celery worker. That is a process that executes tasks in the background.
37+
38+
**Broker**:
39+
Used in the context of celery and docker. Manages the Celery Worker.
40+
41+
**In-Request**:
42+
Something that is done in a request. For example in-request-execution means that the execution of a quantum program is done in the request.
43+

0 commit comments

Comments
 (0)