Skip to main content

QubeStack CUDA-Q plugin. Provides quantum job execution via the QuREKA platform.

Project description

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.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.

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

Project details


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.40-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (236.0 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.40-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qubestack_cudaq-1.0.40-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a04c40cd9c76f1229e29478278a9cc7c2a83de417905673bae93917a09e1307b
MD5 162c946f4ebee2e0a644de3d629f84f6
BLAKE2b-256 3701ac6d0a425c25e78b1b695d566a5a9f8774a711789725dfe330f4e56c7038

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