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

File metadata

File hashes

Hashes for qubestack_cudaq-1.0.41-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14a9164a421d1b459e61daaf03bb24e81082a52205e5feb2c338f32d46879261
MD5 2d4bc3d7c9ecf416eb13e9b8d3074a25
BLAKE2b-256 efae2e13d36a1ec9f7a1c959098bdbedc9694629cc7b6407fa1ca76176268940

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