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.1.0b15.tar.gz
(19.5 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.1.0b15.tar.gz
.
File metadata
- Download URL: bluequbit-0.1.0b15.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c620ba073fa1cdcc65fa8f729d21a7ea2e4f32e1f24554a1c0cb8a93f47cf139 |
|
MD5 | 7bb37601734a7b22a23d79b472332639 |
|
BLAKE2b-256 | 3092c78f6938b48403ef8ff46043aae952115a9b6fc25c2ad3d402d7d722aa7a |
File details
Details for the file bluequbit-0.1.0b15-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.1.0b15-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c194c6ca93c4249333e48084345f37d4531d35a7e59646fe52db19fc7432121 |
|
MD5 | 9ada48426de9214155b9a44df060f854 |
|
BLAKE2b-256 | 84f1db6bc336078cb877d3f8340b25bc6aedda4f640096f4a731b1dae769d958 |