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.51-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.51-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qubestack_cudaq-1.0.51-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 faa3877a00889f50913faec7bfcd736f725b516e539561294a3b532302ddc66a
MD5 7fcca9c909cbc8904203ff78caf559e1
BLAKE2b-256 7ed0fbae8d6ae9c3a1529b81933925016317d22804cc257ff15f9cbb9b1dc011

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