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.19.tar.gz
(14.3 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.19.tar.gz.
File metadata
- Download URL: qubestack_qiskit-1.0.19.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d10931c87e7c927c78624d8f30d7072324658c013a6566d4bc8b37e3259ba385
|
|
| MD5 |
e8292d7ef802fab04af36e659a4f2445
|
|
| BLAKE2b-256 |
1bdbe4633c21892871678ca78c7d35db7aad63d940519abfcd4022c1a76a0e39
|
File details
Details for the file qubestack_qiskit-1.0.19-py3-none-any.whl.
File metadata
- Download URL: qubestack_qiskit-1.0.19-py3-none-any.whl
- Upload date:
- Size: 20.3 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 |
ba7dbe43b925294e083d0a48924adb5f6a5b57648954e3e5ed791a9d38e935b4
|
|
| MD5 |
31327738aa46a0680a5fbd775ec2f794
|
|
| BLAKE2b-256 |
fd0b7c6ae9d8fb35ecf25e5d2e11c7dd3ac6339254fc65d07147591c61c6cfe3
|