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]

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.0b14.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

bluequbit-0.1.0b14-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bluequbit-0.1.0b14.tar.gz
  • Upload date:
  • Size: 18.4 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.0b14.tar.gz
Algorithm Hash digest
SHA256 beccca4fadaa0ac4b501413d87bba0612f7a64d0afb2d5b7f37e08129a9065c0
MD5 ab46a7d7d70ae20cde0bb91e2fc855c2
BLAKE2b-256 73a7893057fd2896e60dce1214b2881841c2b33a369433f4dd83ea4df028d127

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bluequbit-0.1.0b14-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.0b14-py3-none-any.whl
Algorithm Hash digest
SHA256 ab9499de5d6dd415063a70a22eb04576d7e5f3493647c8c84029d19cd02eda4e
MD5 e0102722819af06f036bf453c63e0558
BLAKE2b-256 ac9f36100e34b9e76bfb5d518c1e092fe4e953a47fcf8dd3a94ded78df31d184

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