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.1.0b16.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

bluequbit-0.1.0b16-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file bluequbit-0.1.0b16.tar.gz.

File metadata

  • Download URL: bluequbit-0.1.0b16.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for bluequbit-0.1.0b16.tar.gz
Algorithm Hash digest
SHA256 3173364cfb234bae86ce251357d5445201514d33a25c5ec377dfbef6f1575ee6
MD5 1048f0e7727b355e1cf46659fb71a33f
BLAKE2b-256 f58e892eca12405fa46b263b4aa8d951ca206356af495f8c083c81d79915d300

See more details on using hashes here.

File details

Details for the file bluequbit-0.1.0b16-py3-none-any.whl.

File metadata

  • Download URL: bluequbit-0.1.0b16-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for bluequbit-0.1.0b16-py3-none-any.whl
Algorithm Hash digest
SHA256 9d1a3744e645cdba2e60030229878b4c5cbefd8329da4a35abb0aada5cf9ffb1
MD5 3ad17a359b6d88891d71d45ca426581d
BLAKE2b-256 8ef55acc9a727a171b5628a965da15dae2df8bacae3cb641b7e89fd0150096f2

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