Skip to content

Allow Python to construct a populated SampleResult from global counts - #5023

Queued
anpaz wants to merge 11 commits into
NVIDIA:mainfrom
anpaz:sample-results
Queued

Allow Python to construct a populated SampleResult from global counts#5023
anpaz wants to merge 11 commits into
NVIDIA:mainfrom
anpaz:sample-results

Conversation

@anpaz

@anpaz anpaz commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Closes: #5011

Summary

Adds Python-side constructors and properties so that cudaq.SampleResult can be created directly from a counts dictionary without running a kernel or hand-building the serialization format. This unblocks Python-implemented backends and integrations that produce measurement counts but had no way to wrap them in a SampleResult.

Changes

New constructor – accepts a dict[str, int] of bitstring counts and an optional annotations dict:

result = cudaq.SampleResult({"00": 512, "11": 488})
result = cudaq.SampleResult({"00": 480, "11": 470}, annotations={"shots": 1000})

New properties:

  • result.counts – returns the global counts as a dict[str, int] (snapshot; mutations don't affect the result).
  • result.annotations – read-only metadata dict that backends can use to attach extra information (e.g. authoritative shot count, job IDs, timing).

C++ support:

  • Added sample_result(CountsDictionary, cudaq_json) constructor that populates the global register and computes totalShots.
  • Introduced cudaq_json – a pimpl wrapper around nlohmann::json that keeps the heavy header out of SampleResult.h.
  • Moved get_total_shots() out-of-line for consistency.

Bindings infrastructure:

  • Added a nanobind type_caster<nlohmann::json> in NanobindAdaptors.h for bidirectional Python↔JSON conversion (dict, list, str, int, float, bool, None).

Tests:

  • New test_sample_result.py covering construction, counts property, annotations, and the full Mapping protocol (__contains__, __iter__, __len__, __getitem__, items, values).

Usage

import cudaq

result = cudaq.SampleResult({"00": 512, "11": 488})
result["00"]              # 512
result.get_total_shots()  # 1000
result.counts             # {'00': 512, '11': 488}
result.annotations        # {}

# With annotations (e.g. when shots were filtered):
result = cudaq.SampleResult({"00": 480, "11": 470}, annotations={"shots": 1000})
result.get_total_shots()  # 950 (always sum of counts)
result.annotations["shots"]  # 1000 (authoritative value from backend)

@github-actions github-actions Bot added runtime CUDA quantum runtime python-lang Anything related to the Python CUDA Quantum language implementation labels Jul 29, 2026
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown

CI Summary (push) — ✅ passed

Run #31063554818 · ✅ 6 · ⏩ 7 · ❌ 0 · ⛔ 0

Top-level jobs (13)
Job Result
binaries ⏩ skipped
build_and_test ✅ success
config_devdeps ✅ success
config_source_build ⏩ skipped
config_wheeldeps ✅ success
devdeps ✅ success
docker_image ⏩ skipped
gen_code_coverage ⏩ skipped
metadata ✅ success
python_metapackages ⏩ skipped
python_wheels ⏩ skipped
source_build ⏩ skipped
wheeldeps ✅ success
⏩ Skipped jobs (7) — intentionally skipped on PR builds; run on merge_group / workflow_dispatch
Job
binaries
config_source_build
docker_image
gen_code_coverage
python_metapackages
python_wheels
source_build
All sub-jobs (42) — every matrix leg, with links
Job Status Link
Build and test (amd64, gcc12, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, gcc12, openmpi) / Dev environment (Python) ✅ success view
Build and test (amd64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, llvm, openmpi) / Dev environment (Python) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Python) ✅ success view
CI Summary ❔ in_progress view
Configure build (devdeps) ✅ success view
Configure build (source_build) ⏩ skipped view
Configure build (wheeldeps) ✅ success view
Create CUDA Quantum installer ⏩ skipped view
Create Docker images ⏩ skipped view
Create Python metapackages ⏩ skipped view
Create Python wheels ⏩ skipped view
Gen code coverage ⏩ skipped view
Load dependencies (amd64, gcc12) / Caching ✅ success view
Load dependencies (amd64, gcc12) / Finalize ✅ success view
Load dependencies (amd64, gcc12) / Metadata ✅ success view
Load dependencies (amd64, llvm) / Caching ✅ success view
Load dependencies (amd64, llvm) / Finalize ✅ success view
Load dependencies (amd64, llvm) / Metadata ✅ success view
Load dependencies (arm64, gcc12) / Caching ✅ success view
Load dependencies (arm64, gcc12) / Finalize ✅ success view
Load dependencies (arm64, gcc12) / Metadata ✅ success view
Load dependencies (arm64, llvm) / Caching ✅ success view
Load dependencies (arm64, llvm) / Finalize ✅ success view
Load dependencies (arm64, llvm) / Metadata ✅ success view
Load source build cache ⏩ skipped view
Load wheel dependencies (amd64, 12.6) / Caching ✅ success view
Load wheel dependencies (amd64, 12.6) / Finalize ✅ success view
Load wheel dependencies (amd64, 12.6) / Metadata ✅ success view
Load wheel dependencies (amd64, 13.0) / Caching ✅ success view
Load wheel dependencies (amd64, 13.0) / Finalize ✅ success view
Load wheel dependencies (amd64, 13.0) / Metadata ✅ success view
Load wheel dependencies (arm64, 12.6) / Caching ✅ success view
Load wheel dependencies (arm64, 12.6) / Finalize ✅ success view
Load wheel dependencies (arm64, 12.6) / Metadata ✅ success view
Load wheel dependencies (arm64, 13.0) / Caching ✅ success view
Load wheel dependencies (arm64, 13.0) / Finalize ✅ success view
Load wheel dependencies (arm64, 13.0) / Metadata ✅ success view
Prepare cache clean-up ❔ in_progress view
Retrieve PR info ✅ success view
✅ Required checks (6/6) — declared in .github/required-checks.yml for push
Required check Status Link
Build and test (amd64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, llvm, openmpi) / Dev environment (Python) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Python) ✅ success view
Build and test (amd64, gcc12, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, gcc12, openmpi) / Dev environment (Python) ✅ success view

Signed-off-by: Andres Paz <andresp@nvidia.com>
Signed-off-by: Andres Paz <andresp@nvidia.com>

@sacpis sacpis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks like going in the right direction. Thanks @anpaz. Left a few comments.

Comment thread .github/pre-commit/spelling_allowlist.txt Outdated
Comment thread python/runtime/common/py_SampleResult.cpp
Comment thread python/runtime/common/py_SampleResult.cpp
Comment thread python/tests/builder/test_sample_result.py
Comment thread python/utils/NanobindAdaptors.h Outdated
Comment thread python/utils/NanobindAdaptors.h
Comment thread runtime/common/SampleResult.cpp
Comment thread python/runtime/common/py_SampleResult.cpp
Comment thread python/runtime/common/py_SampleResult.cpp Outdated
Comment thread python/runtime/common/py_SampleResult.cpp
Comment thread python/utils/NanobindAdaptors.h
anpaz added 4 commits August 3, 2026 16:46
Signed-off-by: Andres Paz <andresp@nvidia.com>
Signed-off-by: Andres Paz <andresp@nvidia.com>
Signed-off-by: Andres Paz <andresp@nvidia.com>

@lmondada lmondada left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!!

lmondada added a commit to lmondada/cuda-quantum that referenced this pull request Aug 4, 2026
…Result

Cherry-picked and squashed from NVIDIA#5023
(commits 890cfb6, 8447f89) so that cudaq._experimental runtime endpoints
can return real measurement counts from Python.

Drop this commit when rebasing onto a base that already contains PR NVIDIA#5023.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Signed-off-by: Luca Mondada <luca@mondada.net>
lmondada pushed a commit to lmondada/cuda-quantum that referenced this pull request Aug 4, 2026
Comment thread python/tests/builder/test_sample_result.py

@sacpis sacpis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @anpaz.

anpaz added 2 commits August 4, 2026 13:59
Signed-off-by: Andres Paz <andresp@nvidia.com>
@anpaz
anpaz enabled auto-merge August 4, 2026 21:36
@anpaz
anpaz added this pull request to the merge queue Aug 4, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

CI Summary (merge_group) — ❌ failed

Run #31131258044 · ✅ 7 · ⏩ 4 · ❌ 2 · ⛔ 0

❌ Failed or cancelled
Job Result Link
source_build ❌ failure view
python_wheels ❌ failure view
Top-level jobs (13)
Job Result
binaries ⏩ skipped
build_and_test ✅ success
config_devdeps ✅ success
config_source_build ⏩ skipped
config_wheeldeps ✅ success
devdeps ✅ success
docker_image ✅ success
gen_code_coverage ⏩ skipped
metadata ✅ success
python_metapackages ⏩ skipped
python_wheels ❌ failure
source_build ❌ failure
wheeldeps ✅ success
⏩ Skipped jobs (4) — intentionally skipped on PR builds; run on merge_group / workflow_dispatch
Job
binaries
config_source_build
gen_code_coverage
python_metapackages
All sub-jobs (173) — every matrix leg, with links
Job Status Link
Build and test (amd64, gcc12, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, gcc12, openmpi) / Dev environment (Python) ✅ success view
Build and test (amd64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, llvm, openmpi) / Dev environment (Python) ✅ success view
Build and test (arm64, gcc12, openmpi) / Dev environment (Debug) ✅ success view
Build and test (arm64, gcc12, openmpi) / Dev environment (Python) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Python) ✅ success view
CI Summary ❔ in_progress view
Configure build (devdeps) ✅ success view
Configure build (source_build) ⏩ skipped view
Configure build (wheeldeps) ✅ success view
Create CUDA Quantum installer ⏩ skipped view
Create Docker images (amd64) / Documentation ✅ success view
Create Docker images (amd64) / Metadata ✅ success view
Create Docker images (amd64) / Prepare cache clean-up ✅ success view
Create Docker images (amd64) / Staging ⏩ skipped view
Create Docker images (amd64) / Validation ✅ success view
Create Docker images (amd64) / cuda-quantum (release) ✅ success view
Create Docker images (amd64) / cuda-quantum-dev (debug) ✅ success view
Create Docker images (amd64) / open-mpi ⏩ skipped view
Create Docker images (arm64) / Documentation ⏩ skipped view
Create Docker images (arm64) / Metadata ✅ success view
Create Docker images (arm64) / Prepare cache clean-up ✅ success view
Create Docker images (arm64) / Staging ⏩ skipped view
Create Docker images (arm64) / Validation ✅ success view
Create Docker images (arm64) / cuda-quantum (release) ✅ success view
Create Docker images (arm64) / cuda-quantum-dev (debug) ✅ success view
Create Docker images (arm64) / open-mpi ⏩ skipped view
Create Python metapackages ⏩ skipped view
Create Python wheels (amd64, 3.11, 12.6) / Build Python 3.11 wheel ✅ success view
Create Python wheels (amd64, 3.11, 12.6) / Prepare validation ✅ success view
Create Python wheels (amd64, 3.11, 12.6) / Staging ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (debian:12) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (debian:12, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (redhat/ubi9:9.6) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (redhat/ubi9:9.6, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (ubuntu:22.04) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (ubuntu:22.04, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel on GPU (nvidia simulator) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 13.0) / Build Python 3.11 wheel ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Prepare validation ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Staging ⛔ cancelled view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (debian:12) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (debian:12, --user) ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (fedora:42) ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (fedora:42, --user) ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (redhat/ubi8:8.10) ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (redhat/ubi8:8.10, --user) ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (redhat/ubi9:9.6) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (redhat/ubi9:9.6, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (ubuntu:22.04) ✅ success view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel (ubuntu:22.04, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 13.0) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (amd64, 3.13, 12.6) / Build Python 3.13 wheel ✅ success view
Create Python wheels (amd64, 3.13, 12.6) / Prepare validation ✅ success view
Create Python wheels (amd64, 3.13, 12.6) / Staging ⛔ cancelled view
Create Python wheels (amd64, 3.13, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (amd64, 3.13, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.13, 12.6) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (amd64, 3.13, 13.0) / Build Python 3.13 wheel ✅ success view
Create Python wheels (amd64, 3.13, 13.0) / Prepare validation ✅ success view
Create Python wheels (amd64, 3.13, 13.0) / Staging ⏩ skipped view
Create Python wheels (amd64, 3.13, 13.0) / Validate wheel (fedora:42) ✅ success view
Create Python wheels (amd64, 3.13, 13.0) / Validate wheel (fedora:42, --user) ✅ success view
Create Python wheels (amd64, 3.13, 13.0) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (amd64, 3.14, 12.6) / Build Python 3.14 wheel ✅ success view
Create Python wheels (amd64, 3.14, 12.6) / Prepare validation ✅ success view
Create Python wheels (amd64, 3.14, 12.6) / Staging ⛔ cancelled view
Create Python wheels (amd64, 3.14, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (amd64, 3.14, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.14, 12.6) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (amd64, 3.14, 13.0) / Build Python 3.14 wheel ✅ success view
Create Python wheels (amd64, 3.14, 13.0) / Prepare validation ✅ success view
Create Python wheels (amd64, 3.14, 13.0) / Staging ⏩ skipped view
Create Python wheels (amd64, 3.14, 13.0) / Validate wheel (fedora:42) ✅ success view
Create Python wheels (amd64, 3.14, 13.0) / Validate wheel (fedora:42, --user) ✅ success view
Create Python wheels (amd64, 3.14, 13.0) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (arm64, 3.11, 12.6) / Build Python 3.11 wheel ✅ success view
Create Python wheels (arm64, 3.11, 12.6) / Prepare validation ✅ success view
Create Python wheels (arm64, 3.11, 12.6) / Staging ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (debian:12) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (debian:12, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10, --user) ✅ success view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (redhat/ubi9:9.6) ❌ failure view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (redhat/ubi9:9.6, --user) ❌ failure view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (ubuntu:22.04) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (ubuntu:22.04, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (arm64, 3.11, 13.0) / Build Python 3.11 wheel ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Prepare validation ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Staging ⏩ skipped view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (debian:12) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (debian:12, --user) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (fedora:42) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (fedora:42, --user) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (redhat/ubi8:8.10) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (redhat/ubi8:8.10, --user) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (redhat/ubi9:9.6) ❌ failure view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (redhat/ubi9:9.6, --user) ❌ failure view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (ubuntu:22.04) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel (ubuntu:22.04, --user) ✅ success view
Create Python wheels (arm64, 3.11, 13.0) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (arm64, 3.13, 12.6) / Build Python 3.13 wheel ✅ success view
Create Python wheels (arm64, 3.13, 12.6) / Prepare validation ✅ success view
Create Python wheels (arm64, 3.13, 12.6) / Staging ⛔ cancelled view
Create Python wheels (arm64, 3.13, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (arm64, 3.13, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.13, 12.6) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (arm64, 3.13, 13.0) / Build Python 3.13 wheel ✅ success view
Create Python wheels (arm64, 3.13, 13.0) / Prepare validation ✅ success view
Create Python wheels (arm64, 3.13, 13.0) / Staging ⏩ skipped view
Create Python wheels (arm64, 3.13, 13.0) / Validate wheel (fedora:42) ✅ success view
Create Python wheels (arm64, 3.13, 13.0) / Validate wheel (fedora:42, --user) ✅ success view
Create Python wheels (arm64, 3.13, 13.0) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (arm64, 3.14, 12.6) / Build Python 3.14 wheel ✅ success view
Create Python wheels (arm64, 3.14, 12.6) / Prepare validation ✅ success view
Create Python wheels (arm64, 3.14, 12.6) / Staging ⛔ cancelled view
Create Python wheels (arm64, 3.14, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (arm64, 3.14, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.14, 12.6) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Create Python wheels (arm64, 3.14, 13.0) / Build Python 3.14 wheel ✅ success view
Create Python wheels (arm64, 3.14, 13.0) / Prepare validation ✅ success view
Create Python wheels (arm64, 3.14, 13.0) / Staging ⏩ skipped view
Create Python wheels (arm64, 3.14, 13.0) / Validate wheel (fedora:42) ✅ success view
Create Python wheels (arm64, 3.14, 13.0) / Validate wheel (fedora:42, --user) ✅ success view
Create Python wheels (arm64, 3.14, 13.0) / Validate wheel on GPU (nvidia simulator) ⏩ skipped view
Gen code coverage ⏩ skipped view
Load dependencies (amd64, gcc12) / Caching ✅ success view
Load dependencies (amd64, gcc12) / Finalize ✅ success view
Load dependencies (amd64, gcc12) / Metadata ✅ success view
Load dependencies (amd64, llvm) / Caching ✅ success view
Load dependencies (amd64, llvm) / Finalize ✅ success view
Load dependencies (amd64, llvm) / Metadata ✅ success view
Load dependencies (arm64, gcc12) / Caching ✅ success view
Load dependencies (arm64, gcc12) / Finalize ✅ success view
Load dependencies (arm64, gcc12) / Metadata ✅ success view
Load dependencies (arm64, llvm) / Caching ✅ success view
Load dependencies (arm64, llvm) / Finalize ✅ success view
Load dependencies (arm64, llvm) / Metadata ✅ success view
Load source build cache (amd64, 12.6) / Caching ❌ failure view
Load source build cache (amd64, 12.6) / Finalize ✅ success view
Load source build cache (amd64, 12.6) / Metadata ✅ success view
Load source build cache (amd64, 13.0) / Caching ⛔ cancelled view
Load source build cache (amd64, 13.0) / Finalize ⛔ cancelled view
Load source build cache (amd64, 13.0) / Metadata ✅ success view
Load source build cache (arm64, 12.6) / Caching ⛔ cancelled view
Load source build cache (arm64, 12.6) / Finalize ⛔ cancelled view
Load source build cache (arm64, 12.6) / Metadata ✅ success view
Load source build cache (arm64, 13.0) / Caching ⛔ cancelled view
Load source build cache (arm64, 13.0) / Finalize ⛔ cancelled view
Load source build cache (arm64, 13.0) / Metadata ✅ success view
Load wheel dependencies (amd64, 12.6) / Caching ✅ success view
Load wheel dependencies (amd64, 12.6) / Finalize ✅ success view
Load wheel dependencies (amd64, 12.6) / Metadata ✅ success view
Load wheel dependencies (amd64, 13.0) / Caching ✅ success view
Load wheel dependencies (amd64, 13.0) / Finalize ✅ success view
Load wheel dependencies (amd64, 13.0) / Metadata ✅ success view
Load wheel dependencies (arm64, 12.6) / Caching ✅ success view
Load wheel dependencies (arm64, 12.6) / Finalize ✅ success view
Load wheel dependencies (arm64, 12.6) / Metadata ✅ success view
Load wheel dependencies (arm64, 13.0) / Caching ✅ success view
Load wheel dependencies (arm64, 13.0) / Finalize ✅ success view
Load wheel dependencies (arm64, 13.0) / Metadata ✅ success view
Prepare cache clean-up ❔ queued view
Retrieve PR info ✅ success view
⚠️ Required checks (12/41) — 29 missing — declared in .github/required-checks.yml for merge_group
Required check Status Link
Build and test (amd64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, llvm, openmpi) / Dev environment (Python) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Debug) ✅ success view
Build and test (arm64, llvm, openmpi) / Dev environment (Python) ✅ success view
Build and test (amd64, gcc12, openmpi) / Dev environment (Debug) ✅ success view
Build and test (amd64, gcc12, openmpi) / Dev environment (Python) ✅ success view
Build and test (arm64, gcc12, openmpi) / Dev environment (Debug) ✅ success view
Build and test (arm64, gcc12, openmpi) / Dev environment (Python) ✅ success view
Create CUDA Quantum installer (amd64, 12.6) / Build CUDA Quantum assets ❔ missing
Create CUDA Quantum installer (amd64, 12.6) / Minimal OpenMPI installation ❔ missing
Create CUDA Quantum installer (amd64, 12.6) / Validate installer (debian:12) ❔ missing
Create CUDA Quantum installer (amd64, 12.6) / Validate installer (fedora:42) ❔ missing
Create CUDA Quantum installer (amd64, 12.6) / Validate installer (opensuse/leap:15.5) ❔ missing
Create CUDA Quantum installer (amd64, 12.6) / Validate installer (redhat/ubi9:9.6) ❔ missing
Create CUDA Quantum installer (amd64, 12.6) / Validate installer (ubuntu:22.04) ❔ missing
Create CUDA Quantum installer (arm64, 12.6) / Build CUDA Quantum assets ❔ missing
Create CUDA Quantum installer (arm64, 12.6) / Minimal OpenMPI installation ❔ missing
Create CUDA Quantum installer (arm64, 12.6) / Validate installer (redhat/ubi9:9.6) ❔ missing
Create CUDA Quantum installer (arm64, 12.6) / Validate installer (ubuntu:22.04) ❔ missing
Create Docker images (amd64) / Documentation ✅ success view
Create Docker images (amd64) / Validation ✅ success view
Create Docker images (arm64) / Validation ✅ success view
Create Python metapackages / Build Python metapackages ❔ missing
Create Python metapackages / Test Python metapackages (3.11) ❔ missing
Create Python metapackages / Test Python metapackages (3.13) ❔ missing
Create Python metapackages / Test Python metapackages (3.14) ❔ missing
Create Python metapackages / Test Python metapackages (12.6, 3.11) ❔ missing
Create Python metapackages / Test Python metapackages (12.6, 3.13) ❔ missing
Create Python metapackages / Test Python metapackages (12.6, 3.14) ❔ missing
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (debian:12, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (debian:12) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10, --user) ⛔ cancelled view
Create Python wheels (amd64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (debian:12, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (debian:12) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (fedora:42, --user) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (fedora:42) ⛔ cancelled view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10, --user) ✅ success view
Create Python wheels (arm64, 3.11, 12.6) / Validate wheel (redhat/ubi8:8.10) ⛔ cancelled view

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 5, 2026
@anpaz
anpaz added this pull request to the merge queue Aug 5, 2026
@anpaz
anpaz removed this pull request from the merge queue due to a manual request Aug 5, 2026
Signed-off-by: Andres Paz <andresp@nvidia.com>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 5, 2026
Signed-off-by: Andres Paz <andresp@nvidia.com>
@anpaz
anpaz enabled auto-merge August 5, 2026 20:30
@anpaz
anpaz added this pull request to the merge queue Aug 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 6, 2026
Signed-off-by: Andres Paz <andresp@nvidia.com>
@anpaz
anpaz enabled auto-merge August 6, 2026 01:43
@anpaz
anpaz added this pull request to the merge queue Aug 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 6, 2026
@lmondada
lmondada added this pull request to the merge queue Aug 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 6, 2026
@anpaz
anpaz added this pull request to the merge queue Aug 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 7, 2026
@anpaz
anpaz added this pull request to the merge queue Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation python-lang Anything related to the Python CUDA Quantum language implementation runtime CUDA quantum runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants