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]
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.0b10.tar.gz
(17.7 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.1.0b10.tar.gz
.
File metadata
- Download URL: bluequbit-0.1.0b10.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c21730cd4adc202c8873bfd46de4b724ab8ee712e8956fd67c20180ebe337dd |
|
MD5 | 3555ba3add5cf7eb370ca754b689b9f3 |
|
BLAKE2b-256 | 6c7b408b87a4b414a8661ad9fa09367f52be8c092fa4f8c4f6ce4b82b49b3b2c |
File details
Details for the file bluequbit-0.1.0b10-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.1.0b10-py3-none-any.whl
- Upload date:
- Size: 17.2 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 | 0d09d00b3db0a017b56249738f0458e3d9f94ac7d3a70866dafe9051b9e6b28a |
|
MD5 | 55f5f4f4301bedaba02c3364e1bf3a27 |
|
BLAKE2b-256 | ab81cf54ee024d3262f76f0bfd37d675f0ddbceaca8fb2cb3c470f231f90cd02 |