('Python client providing primitives to be used from other quantum SDKs',)
Project description
Scaleway Pyhon client for Quantum as a Service
Installation
We encourage installing Scaleway provider via the pip tool (a Python package manager):
pip install scaleway-qaas-client
Getting started
To use QaaS client, you need to have an access secret_key and a Scaleway's project_id
from scaleway_qaas_client import QaaSClient
client = QaaSClient(
project_id=os.environ["SCALEWAY_PROJECT_ID"],
secret_key=os.environ["SCALEWAY_API_TOKEN"],
)
platforms = client.list_platforms(name="aer_simulation_pop_c16m128")
assert platforms is not None
assert len(platforms) == 1
target_platform = platforms[0]
assert target_platform.id is not None
session = client.create_session(platform_id=target_platform.id, max_duration="2min", max_idle_duration="2min")
assert session is not None
assert session.id is not None
assert session.platform_id == target_platform.id
while session.status == "starting":
session = client.get_session(session.id)
time.sleep(3)
assert session.status == "running"
client.delete_session(session.id)
Development
This repository is at its early stage and is still in active development. If you are looking for a way to contribute please read CONTRIBUTING.md.
Reach us
We love feedback. Feel free to reach us on Scaleway Slack community, we are waiting for you on #opensource..
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scaleway_qaas_client-0.1.2.tar.gz.
File metadata
- Download URL: scaleway_qaas_client-0.1.2.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b5b6c464b195854837c583cbb55b0bb3e5d93b23f950ffc7994b4f6f2b706eb
|
|
| MD5 |
69d316ae51dbec10ab0ea94e37742fff
|
|
| BLAKE2b-256 |
cec57a2d55fd09dc1ac31c1fc526a30196000877db34ce67fec8da16b74f2e11
|
File details
Details for the file scaleway_qaas_client-0.1.2-py3-none-any.whl.
File metadata
- Download URL: scaleway_qaas_client-0.1.2-py3-none-any.whl
- Upload date:
- Size: 100.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f54c2e9bb533fd1b06ca72c7a6e71751d233d36557a7497f4cfd5278c90ff230
|
|
| MD5 |
2cdf3540244ee99bdf4604cc4d685279
|
|
| BLAKE2b-256 |
25120a839ad960795246a3dcb7d3541e804c0b900344af56baf237adb62483f7
|