Skip to main content

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


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.11.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qubestack_qiskit-1.0.11-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file qubestack_qiskit-1.0.11.tar.gz.

File metadata

  • Download URL: qubestack_qiskit-1.0.11.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

Hashes for qubestack_qiskit-1.0.11.tar.gz
Algorithm Hash digest
SHA256 2e09049174284e96e84e5cade9b5ffa2cc10de058b0c76687b7f3fc095f11c0c
MD5 2b4b758f20ee0910e4445de43b6201e1
BLAKE2b-256 27cde321ad3a3dada74a117b71ddcdc3c380d02800f221964ebb76234648c7c1

See more details on using hashes here.

File details

Details for the file qubestack_qiskit-1.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for qubestack_qiskit-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 89eba966374d41f8d8e835d780ae56e8b40c90ed068401f9f8f1192cec089c3f
MD5 0f28bf7cd449f1c450e5b83ad45593fb
BLAKE2b-256 ac9e86e7fc18cb094f4a21c4c4641cce8a4af0336e50e7ff96b96da722194df5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page