Skip to main content

Python SDK to BlueQubit app

Project description

BlueQubit Python SDK

Quick Start

  1. Register on https://app.bluequbit.io and copy the API token.

  2. Install Python SDK from PyPI:

    pip install bluequbit
  1. An example of how to run a Qiskit circuit using the SDK:
    import qiskit

    import bluequbit

    bq_client = bluequbit.init("<token>")

    qc_qiskit = qiskit.QuantumCircuit(2)
    qc_qiskit.h(0)
    qc_qiskit.x(1)

    job_result = bq_client.run(qc_qiskit, job_name="testing_1")

    state_vector = job_result.get_statevector() 
    # returns a NumPy array of [0. +0.j 0. +0.j 0.70710677+0.j 0.70710677+0.j]

The packages is tested extensively on Python 3.8.

Full reference

Please find detailed reference at https://app.bluequbit.io/sdk-docs.

Questions and Issues

Please submit questions and issues to info@bluequbit.io.

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

bluequbit-0.5.0b1.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

bluequbit-0.5.0b1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file bluequbit-0.5.0b1.tar.gz.

File metadata

  • Download URL: bluequbit-0.5.0b1.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bluequbit-0.5.0b1.tar.gz
Algorithm Hash digest
SHA256 72683abca7825c3e46b49ae8921221bd4c411e0c9ab30f1f31aa5e7c3d393797
MD5 6d31d0e6d31b5a531b6bce0b68c5ecab
BLAKE2b-256 5a3db443705c4036abb24dc9e096b614c8ca92e0d33c8958cc445f523925dda1

See more details on using hashes here.

File details

Details for the file bluequbit-0.5.0b1-py3-none-any.whl.

File metadata

  • Download URL: bluequbit-0.5.0b1-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bluequbit-0.5.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 10314c4b3a6e66a595e143d8b4144565f370e660cabc43c8dbfc340fbac52e92
MD5 b9510fe4ff7a4e25c5b2c4e0d681febc
BLAKE2b-256 867cd6518cf6cb18f7417e020c15118eab14d49f7e75da836c1507ff60f34b1d

See more details on using hashes here.

Supported by

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