From b76976b13a0adf8e700847c9cb42d81c5a516a09 Mon Sep 17 00:00:00 2001 From: Scott Thornton Date: Mon, 14 Sep 2026 18:51:27 +0000 Subject: [PATCH 1/2] Require cudaq >= 0.16.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CUDA-Q 0.16.0 is released; make it the minimum. The wheel's declared range, the CI pip install range, and the Custom-mode wheel version placeholder move together. Full-suite validation against the released cudaq==0.16.0 wheel was run ahead of this change (472 passed / 3 skipped on the primitives line, which includes every test on main); v0.1.0-era functionality needs no code changes on 0.16. The one 0.16-sensitive construction (1-bit- address QROM lookups) ships with its own protection — the dispatch- pruning commit already on the QROM PR (#40) — so this change and #40 can merge in either order; open PRs adopt the new range only when they rebase, at which point they inherit that commit too. The .cudaq_version pin bump to the 0.16.0 release commit is split into a follow-up: its first firing of the from-source lanes surfaced a build-layout change in the 0.16 source tree (the built install no longer exposes the python package on the expected prefix path), which the build plumbing must adapt to before the pin can move. Signed-off-by: Scott Thornton --- .github/workflows/lib_algorithms.yaml | 2 +- .github/workflows/wheel_algorithms.yaml | 12 ++++++------ pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lib_algorithms.yaml b/.github/workflows/lib_algorithms.yaml index 4ec808a..33a6e52 100644 --- a/.github/workflows/lib_algorithms.yaml +++ b/.github/workflows/lib_algorithms.yaml @@ -126,7 +126,7 @@ jobs: # runners (see scripts/ci/test_wheels.sh for why the variant is # the resolver's business, not ours). run: | - python3 -m pip install "cudaq>=0.15.0,<0.16" + python3 -m pip install "cudaq>=0.16.0,<0.17" - name: Run tests run: | diff --git a/.github/workflows/wheel_algorithms.yaml b/.github/workflows/wheel_algorithms.yaml index 97eded5..1567584 100644 --- a/.github/workflows/wheel_algorithms.yaml +++ b/.github/workflows/wheel_algorithms.yaml @@ -6,12 +6,12 @@ on: version: type: string description: Version number to create wheels with. - default: 0.15.99 + default: 0.16.99 required: false cudaq_wheels: type: choice required: true - description: 'CUDA-Q wheel source: Custom = built from the pinned .cudaq_version commit (unreleased); PyPI = released cuda-quantum wheels from the public indices (resolves against released cuda-quantum >= 0.15.0).' + description: 'CUDA-Q wheel source: Custom = built from the pinned .cudaq_version commit (unreleased); PyPI = released cuda-quantum wheels from the public indices (resolves against released cuda-quantum >= 0.16.0).' default: 'Custom' options: - 'Custom' @@ -35,7 +35,7 @@ on: inputs: version: type: string - default: 0.15.99 + default: 0.16.99 required: false cudaq_wheels: type: string @@ -113,7 +113,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" bash scripts/ci/build_wheels.sh \ --python-version ${{ matrix.python }} \ - --version ${{ inputs.version || '0.15.99' }} + --version ${{ inputs.version || '0.16.99' }} - name: Upload CUDA-Q Algorithms wheels uses: actions/upload-artifact@v4 @@ -250,6 +250,6 @@ jobs: ${{ matrix.python }} \ ${{ matrix.platform }} \ ${{ matrix.cuda_version }} \ - ${{ inputs.cudaq_wheels == 'Custom' && '0.15.99' || 'SKIP' }} \ - ${{ inputs.version || '0.15.99' }} \ + ${{ inputs.cudaq_wheels == 'Custom' && '0.16.99' || 'SKIP' }} \ + ${{ inputs.version || '0.16.99' }} \ ${{ matrix.device }} diff --git a/pyproject.toml b/pyproject.toml index 5727439..26d1f34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ license = "Apache-2.0" dependencies = [ # `cudaq` is CUDA-agnostic and selects the right cuda-quantum-cuNN at # install time, which lets us ship this single py3-none-any wheel. - "cudaq >= 0.15.0, < 0.16", + "cudaq >= 0.16.0, < 0.17", "numpy", "scipy", ] From a846972f3ea4f2aef674fb91361ca41e85992807 Mon Sep 17 00:00:00 2001 From: Scott Thornton Date: Thu, 17 Sep 2026 04:17:00 +0000 Subject: [PATCH 2/2] CI: bump get-cudaq-wheels release_version 0.15.99 -> 0.16.99 The version bump to cudaq 0.16 missed the release_version build-args in get-cudaq-wheels/action.yaml; Custom wheel builds would break otherwise (review from anjbur on PR #50). Signed-off-by: Scott Thornton --- .github/actions/get-cudaq-wheels/action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/get-cudaq-wheels/action.yaml b/.github/actions/get-cudaq-wheels/action.yaml index 8a2a6b0..ea5ce58 100644 --- a/.github/actions/get-cudaq-wheels/action.yaml +++ b/.github/actions/get-cudaq-wheels/action.yaml @@ -126,7 +126,7 @@ runs: file: ./cudaq/docker/release/cudaq.wheel.Dockerfile build-args: | base_image=ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-${{ inputs.platform }}-cu${{ inputs.cuda_version }}-gcc12-main - release_version=0.15.99 + release_version=0.16.99 python_version=3.11 outputs: /cudaq-wheels @@ -138,7 +138,7 @@ runs: file: ./cudaq/docker/release/cudaq.wheel.Dockerfile build-args: | base_image=ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-${{ inputs.platform }}-cu${{ inputs.cuda_version }}-gcc12-main - release_version=0.15.99 + release_version=0.16.99 python_version=3.12 outputs: /cudaq-wheels @@ -150,7 +150,7 @@ runs: file: ./cudaq/docker/release/cudaq.wheel.Dockerfile build-args: | base_image=ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-${{ inputs.platform }}-cu${{ inputs.cuda_version }}-gcc12-main - release_version=0.15.99 + release_version=0.16.99 python_version=3.13 outputs: /cudaq-wheels