Skip to main content

qubestack-cudaq

QuREKA backend plugin for CUDA-Q.

Execute CUDA-Q quantum circuits on various quantum backends through the QuREKA platform.

Supported Backends

Backend Identifier
QPerfect Mimiq sdt.qubesim-mimiq
IQM Garnet iqm.garnet
IQM Emerald iqm.emerald
IonQ Forte (IonQ Cloud v0.4 직결) ionq.forte-1
SDT Kreo sdt.kreo-sc20

Installation

pip install qubestack-cudaq

cuda-quantum-cu12==0.14.0 is automatically installed as a dependency.

Optional: [academic] extras

For running the NVIDIA CUDA-Q Academic notebooks (QEC, chemistry-simulations, QAOA, dynamics, ai-for-quantum, ...), install the academic extras:

pip install "qubestack-cudaq[academic]"

This adds cudaq-qec, cudaq-solvers (with ABI-compatible pins) plus the learning-side libraries (qutip, galois, pymatching, stim, openfermion, diffusers, transformers). External PyPI users are not forced into this set — the base pip install qubestack-cudaq remains unchanged.

The qubestack-pad notebook image bundles this [academic] bundle so users can run the Academic notebooks out of the box without additional installs.

Version compatibility matrix

The four packages below must ship together with ABI-compatible pins. qubestack-cudaq CI enforces this via scripts/verify_academic.sh (fail-fast).

qubestack-cudaq cuda-quantum-cu12 cudaq-qec cudaq-solvers
1.0.x (current) 0.14.0 0.6.0 0.6.0

New rows are appended when NVIDIA releases a new cuda-quantum-cu12 and the matching cudaq-qec/cudaq-solvers pair is validated. See QXDEV-2375 for the design rationale.

How the pin is chosen: NVIDIA ships cudaq-qec / cudaq-solvers alongside each cuda-quantum-cu12 release. Cross-checked via each *-cu12 wheel's own Requires-Dist metadata:

  • cudaq-qec-cu12 0.5.0 / 0.5.0.post1cuda-quantum-cu12 == 0.13.*
  • cudaq-qec-cu12 0.6.0cuda-quantum-cu12 == 0.14.* ✅ (current pin)

Mismatched pairs surface at pip resolution (ResolutionImpossible) or at import time as libcudaq-qec.so: undefined symbol: _ZN5cudaq16quantum_platform12set_exec_ctxE... and are caught by scripts/verify_academic.sh in CI (Phase 2 fail-fast).

Quick Start

import cudaq

# Set the QuREKA target
cudaq.set_target("qureka", backend="sdt.qubesim-mimiq", api_key="your-api-key")

# Define a quantum kernel
@cudaq.kernel
def bell_state():
    q = cudaq.qvector(2)
    h(q[0])
    cx(q[0], q[1])
    mz(q)

# Execute
result = cudaq.sample(bell_state, shots_count=1000)
print(result)

Configuration

Parameter Required Description
backend Yes Quantum backend identifier (see table above)
api_key Yes QuREKA API key
option No Backend-specific options (JSON string)

License

Apache License 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

qubestack_cudaq-1.0.135-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (227.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file qubestack_cudaq-1.0.135-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qubestack_cudaq-1.0.135-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bf59cc7f022e0c3d39eea256d8ab8a5f916344f123708d3ca9151b5414d84f3c
MD5 d3d2292cdd4ac11e48a098ad1b68ddf3
BLAKE2b-256 4be08e5fe9805952d14088b85322ec697c68c6d0f78cf90820d2d96bbf0e5288

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.140

1 file

This release

1.0.135 This release

1 file

1.0.130

1 file

1.0.86

1 file

1.0.82

1 file

1.0.79

1 file

1.0.67

1 file

1.0.59

1 file

1.0.51

1 file

1.0.41

1 file

1.0.40

1 file

1.0.34

1 file

1.0.23

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page