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.3.0b1.tar.gz
(23.7 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.3.0b1.tar.gz
.
File metadata
- Download URL: bluequbit-0.3.0b1.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48cb11d066811313279e9d0eaadfd2d647bbe06b078dd0e0d53c501b06a98c67 |
|
MD5 | dcbfd05a2a41c35599a5ce72a200b34b |
|
BLAKE2b-256 | 710ee63c595d58d80b0be8e3e0d415a52892cb17ccca13be573da365acb46ca3 |
File details
Details for the file bluequbit-0.3.0b1-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.3.0b1-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95563649ec0d8d4dd134617e17ad7b4b5ec1e46df6f846043723486019089d2f |
|
MD5 | 038d8de6b61b05f9f974adebd96fb585 |
|
BLAKE2b-256 | 4349c6ad76710ab88b88d89a2a64e0e4660c0de829e356b3cf1f0d9cb8fe2156 |