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.0b11.tar.gz
(17.7 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.1.0b11.tar.gz
.
File metadata
- Download URL: bluequbit-0.1.0b11.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 | 3fe0d5bea468ae7e114c4b4db79815140dbb292387503cc1167391914037b7c3 |
|
MD5 | 94ed2e247c306886835a8a002516504e |
|
BLAKE2b-256 | 187e381a73726121efd9c134ebc19c5dc30fb0658e4b2bd5e94b4b438b207316 |
File details
Details for the file bluequbit-0.1.0b11-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.1.0b11-py3-none-any.whl
- Upload date:
- Size: 17.3 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 | 0d6f2bdca2035423475d0684467ce5031b85ea46c0ecb772a8fb41a031c79bc7 |
|
MD5 | dbdc54c8b8b21896e3ba92962eab3e25 |
|
BLAKE2b-256 | 69b4a0ada30058417a04735292b676103d3a8a333b2b45eb9173f980c45eb6b2 |