Python SDK to BlueQubit app
Project description
BlueQubit Python SDK
Quick Start
-
Register on https://app.bluequbit.io and copy the API token.
-
Install Python SDK from PyPI:
pip install bluequbit
- 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.2.2b1.tar.gz
(23.6 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.2.2b1.tar.gz
.
File metadata
- Download URL: bluequbit-0.2.2b1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579f5ad5fbace15e4ac7c87a7d2cc6af19b8b834065384aae70ccfa5a22b7a96 |
|
MD5 | 38a0503b6ce08d977418c16e641e90f2 |
|
BLAKE2b-256 | 3528c726fc1e08ea576c208446d1f5c47e78332746984be4dd89919b115bd169 |
File details
Details for the file bluequbit-0.2.2b1-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.2.2b1-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdd83665ecfc958fff52e704b45ef99bdada2be7d209d4459aad90930fefa74e |
|
MD5 | dfac8056ca00208771672acce5f0a72d |
|
BLAKE2b-256 | 0b27ecf06d794f5c27bc362fa44484a6ea08987d5caf8e0a25dcc3f9ecbd785d |