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.2b1.tar.gz
(22.1 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.1.2b1.tar.gz
.
File metadata
- Download URL: bluequbit-0.1.2b1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fa452d6433eff094859eb65df8e490b9831b0c641f833abc3e03de1e883f8fb |
|
MD5 | 0e0e520315001ea2335d409fc4190d3b |
|
BLAKE2b-256 | 32127ffac3207cd884ccdafac634b39064cc05bac2c51c1b094c592aca3b3900 |
File details
Details for the file bluequbit-0.1.2b1-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.1.2b1-py3-none-any.whl
- Upload date:
- Size: 19.4 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 | 473439cf7fb858bb92a0c3603d339adace8ce1aab282eb0e5dfe838050b741b2 |
|
MD5 | bdec694b6d92ed1cde25c330d33783e3 |
|
BLAKE2b-256 | 6236bd4723775129ba603b65b6ed018dbcf5b37e2d3df5ec3b7f0ad4467b621b |