Skip to main content

('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")

target_platform = platforms[0]

session = client.create_session(platform_id=target_platform.id, max_duration="2min", max_idle_duration="2min")

while session.status == "starting":
    session = client.get_session(session.id)
    time.sleep(3)

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

License Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scaleway_qaas_client-0.1.4.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scaleway_qaas_client-0.1.4-py3-none-any.whl (100.3 kB view details)

Uploaded Python 3

File details

Details for the file scaleway_qaas_client-0.1.4.tar.gz.

File metadata

  • Download URL: scaleway_qaas_client-0.1.4.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for scaleway_qaas_client-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a9023f68c3de64029f06371eb49b8992bcdb2682541871207d3581d37b29a4f7
MD5 1efcaeaaf615dc756f092676bd1c39b6
BLAKE2b-256 fed7024df033f02bc8eb1fe47e409844bcaaaf92a1f71d0a37321d4939fe20b8

See more details on using hashes here.

File details

Details for the file scaleway_qaas_client-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for scaleway_qaas_client-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 80ad9f70d89a82777a1342ae9bf38676a86bd3fdb0df4e859737cf98b8706c74
MD5 0437cc19bfc8dc111996d23e51558e07
BLAKE2b-256 1ef13a248df245b91938ec8d418f99624439ea73a9db363635a26b638a43ad8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page