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.6.0b1.tar.gz
(33.1 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.6.0b1.tar.gz
.
File metadata
- Download URL: bluequbit-0.6.0b1.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0d4371bff8e5e16504eafae26b4f52325dd96137c8ea686c1044ae880b0d75b |
|
MD5 | 4ca803d09d604f413daafd69fee9e847 |
|
BLAKE2b-256 | 7a77d5653954b490903bc8ddfcdda9662e6871f666d81388f096f4a4a246d505 |
File details
Details for the file bluequbit-0.6.0b1-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.6.0b1-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b8ee501efd8d7815d8c22b915b016393e12d278612f0afb5988f619751b215 |
|
MD5 | efcd401ec04369e915f34235037a27d0 |
|
BLAKE2b-256 | 332eed6b7bc485a013914bc36fc4be6971c7e82f4b5dc6488eec6dc800c318cf |