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
Rigetti Ankaa rigetti.ankaa-3
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.82-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (245.7 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.82-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qubestack_cudaq-1.0.82-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20baf23d50f8c9216cf99653be784fcb53be49672f469e57e6e1d2fc8f8e9408
MD5 d5b1a93378b64bb79c241a96a6b28cec
BLAKE2b-256 694195cc282bcb8a91e43eed7e97e64daaf63d38574ab72b695c5ca5177fc4ea

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.140

1 file

1.0.135

1 file

1.0.130

1 file

1.0.86

1 file

This release

1.0.82 This release

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