QuTech API
assets
create
API endpoint that allows assets to be viewed or edited.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
contentType required | |
content | |
project required |
read
API endpoint that allows assets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
update
API endpoint that allows assets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
contentType required | |
content | |
project required |
partial_update
API endpoint that allows assets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name | |
contentType | |
content | |
project |
delete
API endpoint that allows assets to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
jobs > list
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
auth
backends
create
API endpoint that allows backends to be viewed or edited.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
location required | |
backend_type required | |
status required | |
status_message | |
lastHeartbeat | |
openqlPdf | |
account required |
read
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
update
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
location required | |
backend_type required | |
status required | |
status_message | |
lastHeartbeat | |
openqlPdf | |
account required |
partial_update
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name | |
location | |
backend_type | |
status | |
status_message | |
lastHeartbeat | |
openqlPdf | |
account |
delete
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
calibration > list
API endpoint that returns the latest calibration object for a specific backend. The list is sorted on the primary key from which the order is infered.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
recent-calibrations > list
API endpoint that retrieves all calibrations for a given backend where the creation_date_time is between a start_date and an end_date.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
backendtypes
read
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
update
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
is_hardware_backend | |
required_permission required | |
number_of_qubits required | |
description | |
topology required | |
chip_image_id | |
allowed_operations required | |
operations_count required |
partial_update
API endpoint that allows backends to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name | |
is_hardware_backend | |
required_permission | |
number_of_qubits | |
description | |
topology | |
chip_image_id | |
allowed_operations | |
operations_count |
calibration > list
API endpoint that returns the last calibration object, independent on the backend it comes from, for a backendtype.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
calibration
create
API endpoint that allows the backend owner to store calibration parameters for its backend. The coreapi functions 'edit', 'list' and 'destroy' are not allowed.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
parameters required |
read
API endpoint that allows the backend owner to store calibration parameters for its backend. The coreapi functions 'edit', 'list' and 'destroy' are not allowed.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
broadcast > create
View for the Broadcast function in which an admin can send a markdown styled email to all the users in either elaborate_user or basic_user group. This email is sent from the BROADCAST_EMAIL_TO address that is specified in the settings.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
subject required | |
markdown required |
confirm > create
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
uid required | |
token required |
groups
read
API endpoint that allows groups to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
jobs
list
API endpoint that allows jobs to be viewed and created.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
status |
create
To create a job set the status
to NEW
, do not set the BACKEND
field, and set the
backend_type
to one of the available backends. The input
is an asset in the database in the
form of an URL.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
status | |
input required | |
backend | |
backend_type required | |
number_of_shots required | |
full_state_projection | |
user_data |
read
API endpoint that allows jobs to be viewed and created.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
status |
update
API endpoint that allows jobs to be viewed and created.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
status |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
status | |
input required | |
backend | |
backend_type required | |
number_of_shots required | |
full_state_projection | |
user_data |
partial_update
API endpoint that allows jobs to be viewed and created.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
status |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name | |
status | |
input | |
backend | |
backend_type | |
number_of_shots | |
full_state_projection | |
user_data |
delete
Allows to delete a job
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
status |
cancel > partial_update
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
complete > partial_update
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
paginated > list
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
page | A page number within the paginated result set. |
page_size | Number of results to return per page. |
status |
pre-flight > create
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
status | |
input required | |
backend | |
backend_type required | |
number_of_shots required | |
full_state_projection | |
user_data |
result > list
API endpoint that lists results for a job.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
take > partial_update
API endpoint that assigns a job to the signed-in backend user and return the job data in the response. If a job is already assigned, that job data will be returned.
jwt
create
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | |
password required |
refresh > create
API View that returns a refreshed token (with new expiration) based on existing token
If 'orig_iat' field (original issued-at-time) is found, will first check if it's within expiration window, then copy it to the new token
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
token required |
verify > create
API View that checks the veracity of a token, returning the token if it is valid.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
token required |
me
update
Customize the authentication classes allowed for the me endpoint
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
full_name required | Required. 1024 characters or fewer. |
email required | |
password required |
partial_update
Customize the authentication classes allowed for the me endpoint
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
full_name | Required. 1024 characters or fewer. |
email | |
password |
password
create
Customize the authentication classes allowed for the set_password endpoint
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
new_password required | |
re_new_password required | |
current_password required |
reset > create
Use this endpoint to send email to user with password reset link.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
email required |
reset > confirm > create
Use this endpoint to finish reset password process.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
uid required | |
token required | |
new_password required |
projects
list
API endpoint that allows projects to be viewed or edited.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
ordering | Which field to use when ordering the results. |
search | A search term. |
create
API endpoint that allows projects to be viewed or edited.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
backend_type required | |
default_number_of_shots required |
read
API endpoint that allows projects to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
ordering | Which field to use when ordering the results. |
search | A search term. |
update
API endpoint that allows projects to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
ordering | Which field to use when ordering the results. |
search | A search term. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name required | |
backend_type required | |
default_number_of_shots required |
partial_update
API endpoint that allows projects to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
ordering | Which field to use when ordering the results. |
search | A search term. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
name | |
backend_type | |
default_number_of_shots |
delete
API endpoint that allows projects to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
ordering | Which field to use when ordering the results. |
search | A search term. |
assets > list
API endpoint that lists assets for a project.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
jobs > list
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
status |
jobs > paginated > list
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
page | A page number within the paginated result set. |
page_size | Number of results to return per page. |
status |
paginated > list
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
page | A page number within the paginated result set. |
page_size | Number of results to return per page. |
ordering | Which field to use when ordering the results. |
search | A search term. |
queue
results
create
API endpoint that allows results to be viewed or edited.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
job required | |
number_of_qubits | |
execution_time_in_seconds | |
raw_text | |
raw_data | |
histogram | |
measurement_mask | |
quantum_states | |
measurement_register | |
calibration |
read
API endpoint that allows results to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
histogram > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | |
token required |
measurement-register > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | |
token required |
paginated > list
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
page | A page number within the paginated result set. |
page_size | Number of results to return per page. |
quantum-states > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | |
token required |
raw-data > read
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | |
token required |
statistics
username
create
Customize the authentication classes allowed for the set_username endpoint
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
current_password required | |
new_username required | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
users
read
API endpoint that allows users to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
update
API endpoint that allows users to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
full_name required | Required. 1024 characters or fewer. |
email required | |
password required |
partial_update
API endpoint that allows users to be viewed or edited.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
full_name | Required. 1024 characters or fewer. |
email | |
password |
activate > create
Use this endpoint to activate user account.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
uid required | |
token required |
create > create
Use this endpoint to register new user.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. |
full_name required | Required. 1024 characters or fewer. |
email required | |
password required |
create > anonymous > create
API endpoint that allows to create an anonymous user and returns a valid JWT token
delete > create
Use this endpoint to remove actually authenticated user
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
current_password required |
resend > create
Use this endpoint to resend user activation email.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
email required |