QubeStack Qiskit provider. Submits Qiskit circuits to QuREKA quantum backends.
Project description
qubestack-qiskit
QuREKA provider for Qiskit.
Submit Qiskit circuits to various quantum backends through the QuREKA platform.
Supported Backends
| Backend | Identifier | shots |
|---|---|---|
| QPerfect Mimiq | sdt.qubesim-mimiq |
1 ~ 100,000 |
| IQM Garnet | iqm.garnet |
AWS 정책 |
| IQM Emerald | iqm.emerald |
AWS 정책 |
| IonQ Forte (IonQ Cloud v0.4) | ionq.forte-1 |
100 ~ 5,000 |
| Rigetti Ankaa-3 | rigetti.ankaa-3 |
10 ~ 50,000 |
Installation
pip install qubestack-qiskit
qiskit>=1.0,<2.0 is automatically installed as a dependency.
Quick Start
from qiskit import QuantumCircuit
from qubestack_qiskit import QurekaProvider
provider = QurekaProvider(api_key="your-api-key")
backend = provider.get_backend("sdt.qubesim-mimiq")
qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0, 1], [0, 1])
job = backend.run(qc, shots=100)
print(job.result().get_counts())
Configuration
| Parameter | Required | Description |
|---|---|---|
api_key |
Yes | QuREKA API key (or QUREKA_API_KEY env) |
base_url |
No | API server URL (default https://openapi.qureka.io) |
Environment Variables
| Variable | Default | Description |
|---|---|---|
QUREKA_API_KEY |
— | API key (api_key 인자보다 낮은 우선순위) |
QUREKA_TARGET_URL |
https://openapi.qureka.io |
API URL 오버라이드 (base_url 인자보다 우선) |
QUREKA_LOG_LEVEL |
INFO |
로그 레벨 (INFO or DEBUG) |
Development
# 빌드
bash scripts/build.sh
# 테스트
pip install -e .[dev]
pytest -q
License
Apache License 2.0
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
qubestack_qiskit-1.0.8.tar.gz
(12.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qubestack_qiskit-1.0.8.tar.gz.
File metadata
- Download URL: qubestack_qiskit-1.0.8.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c43b9cb9c1de4802380bd04422b1d9eb29d083e253f681de9fa1a647c4e21e1f
|
|
| MD5 |
d724291abb4f9b279c51123b2626751d
|
|
| BLAKE2b-256 |
a3a20e3e83c63382e4ca9f24d04355c8859139e1bbb197ae95c6d346a9d2cd5f
|
File details
Details for the file qubestack_qiskit-1.0.8-py3-none-any.whl.
File metadata
- Download URL: qubestack_qiskit-1.0.8-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efe5eba41375fd284a56ddae0880108c3118a59422904a14fce936498eba2d52
|
|
| MD5 |
43491cf3e1582ced7e5a133c22091fcf
|
|
| BLAKE2b-256 |
931060d9e8b3cc8d9aa13057c0f36bf80b5144eb47ce2ea25430fcc179cdda19
|