Python SDK to BlueQubit app
Project description
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.0b5.tar.gz
(17.1 kB
view details)
Built Distribution
File details
Details for the file bluequbit-0.1.0b5.tar.gz
.
File metadata
- Download URL: bluequbit-0.1.0b5.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8970f314e8bfd23fdc990545a064fbbc6ff473f32de7a9feae05b1d47e6a1dd0 |
|
MD5 | 5dd268323cc1af5afed4fedc86c261c5 |
|
BLAKE2b-256 | 486e4955fb76b0a37ae59bf770d727957803db7fc2dff7f127f06193ed260c56 |
File details
Details for the file bluequbit-0.1.0b5-py3-none-any.whl
.
File metadata
- Download URL: bluequbit-0.1.0b5-py3-none-any.whl
- Upload date:
- Size: 16.5 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 | 5715969a70336a4e9e44ee8ff1ea582a1499a3714ca5239f26f1ea5d713d5a44 |
|
MD5 | 0e82e2ec2a3213efe0c0ad2172fe0b6c |
|
BLAKE2b-256 | 820167efce82b8c44b730e6abb4b4a70f607756be6c0e0bc81a7eb60c2948d72 |