From 53685451d486609bf5803e56a0e0d2d27918b33c Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Sat, 29 Nov 2025 09:35:32 -0500 Subject: [PATCH 1/6] bump version --- .dep-versions | 2 +- doc/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dep-versions b/.dep-versions index 9650fa078d..8df3197cc4 100644 --- a/.dep-versions +++ b/.dep-versions @@ -12,7 +12,7 @@ enzyme=v0.0.203 # 'doc/requirements.txt' # TODO: uncomment and update to latest version of pennylane # after https://github.com/PennyLaneAI/pennylane/pull/8525 is merged. -pennylane @ git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability +pennylane=0.44.0-dev42 # For a custom LQ/LK version, update the package version here and at # 'doc/requirements.txt' diff --git a/doc/requirements.txt b/doc/requirements.txt index fdd8c71351..e13ab2f835 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -33,4 +33,4 @@ lxml_html_clean --extra-index-url https://test.pypi.org/simple/ pennylane-lightning-kokkos==0.44.0-dev11 pennylane-lightning==0.44.0-dev11 -git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability +pennylane==0.44.0-dev42 From f7e58fef13a48b2be8600b48ef16b53ce253d521 Mon Sep 17 00:00:00 2001 From: Hong-Sheng Zheng Date: Sat, 29 Nov 2025 19:39:30 -0500 Subject: [PATCH 2/6] update --- .dep-versions | 2 -- .github/workflows/build-wheel-linux-arm64.yaml | 5 ----- .github/workflows/build-wheel-linux-x86_64.yaml | 5 ----- .github/workflows/build-wheel-macos-arm64.yaml | 5 ----- Makefile | 2 -- 5 files changed, 19 deletions(-) diff --git a/.dep-versions b/.dep-versions index 8df3197cc4..ef5dc45fc5 100644 --- a/.dep-versions +++ b/.dep-versions @@ -10,8 +10,6 @@ enzyme=v0.0.203 # For a custom PL version, update the package version here and at # 'doc/requirements.txt' -# TODO: uncomment and update to latest version of pennylane -# after https://github.com/PennyLaneAI/pennylane/pull/8525 is merged. pennylane=0.44.0-dev42 # For a custom LQ/LK version, update the package version here and at diff --git a/.github/workflows/build-wheel-linux-arm64.yaml b/.github/workflows/build-wheel-linux-arm64.yaml index 175132701f..b619cc1c59 100644 --- a/.github/workflows/build-wheel-linux-arm64.yaml +++ b/.github/workflows/build-wheel-linux-arm64.yaml @@ -478,11 +478,6 @@ jobs: run: | python${{ matrix.python_version }} -m pip install oqc-qcaas-client - - name: Install PennyLane - run: | - # Install the specific pennylane version required - python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability - - name: Install Catalyst run: | python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple diff --git a/.github/workflows/build-wheel-linux-x86_64.yaml b/.github/workflows/build-wheel-linux-x86_64.yaml index 3a0b0476b9..4d9fac7a68 100644 --- a/.github/workflows/build-wheel-linux-x86_64.yaml +++ b/.github/workflows/build-wheel-linux-x86_64.yaml @@ -492,11 +492,6 @@ jobs: python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>=1.31.0' - - name: Install PennyLane - run: | - # Install the specific pennylane version required - python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability - - name: Install OQC client if: matrix.python_version != '3.13' run: | diff --git a/.github/workflows/build-wheel-macos-arm64.yaml b/.github/workflows/build-wheel-macos-arm64.yaml index 117068dcb6..056643772d 100644 --- a/.github/workflows/build-wheel-macos-arm64.yaml +++ b/.github/workflows/build-wheel-macos-arm64.yaml @@ -473,11 +473,6 @@ jobs: python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>1.27.1' - - name: Install PennyLane - run: | - # Install the specific pennylane version required - python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability - - name: Install OQC client if: matrix.python_version != '3.13' run: | diff --git a/Makefile b/Makefile index 7bee07d6d8..1fbcd30fa1 100644 --- a/Makefile +++ b/Makefile @@ -117,8 +117,6 @@ frontend: # versions of a package with the same version tag (e.g. 0.38-dev0). $(PYTHON) -m pip uninstall -y pennylane $(PYTHON) -m pip install -e . --extra-index-url https://test.pypi.org/simple $(PIP_VERBOSE_FLAG) - # TODO: remove after https://github.com/PennyLaneAI/pennylane/pull/8525 is merged. - $(PYTHON) -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability rm -r frontend/pennylane_catalyst.egg-info .PHONY: mlir llvm stablehlo enzyme dialects runtime oqc From fe408b93a9edee438ef4db71c84ce866c3173179 Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Sat, 29 Nov 2025 19:59:27 -0500 Subject: [PATCH 3/6] Revert build wheel --- .github/workflows/build-wheel-linux-arm64.yaml | 5 ----- .github/workflows/build-wheel-linux-x86_64.yaml | 5 ----- .github/workflows/build-wheel-macos-arm64.yaml | 5 ----- 3 files changed, 15 deletions(-) diff --git a/.github/workflows/build-wheel-linux-arm64.yaml b/.github/workflows/build-wheel-linux-arm64.yaml index 175132701f..5aeb247570 100644 --- a/.github/workflows/build-wheel-linux-arm64.yaml +++ b/.github/workflows/build-wheel-linux-arm64.yaml @@ -468,11 +468,6 @@ jobs: run: | python${{ matrix.python_version }} -m pip install pytest pytest-xdist pytest-mock - - name: Install PennyLane Plugins - run: | - python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos - python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>=1.31.0' - - name: Install OQC client if: matrix.python_version != '3.13' run: | diff --git a/.github/workflows/build-wheel-linux-x86_64.yaml b/.github/workflows/build-wheel-linux-x86_64.yaml index 3a0b0476b9..4d9fac7a68 100644 --- a/.github/workflows/build-wheel-linux-x86_64.yaml +++ b/.github/workflows/build-wheel-linux-x86_64.yaml @@ -492,11 +492,6 @@ jobs: python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>=1.31.0' - - name: Install PennyLane - run: | - # Install the specific pennylane version required - python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability - - name: Install OQC client if: matrix.python_version != '3.13' run: | diff --git a/.github/workflows/build-wheel-macos-arm64.yaml b/.github/workflows/build-wheel-macos-arm64.yaml index 117068dcb6..056643772d 100644 --- a/.github/workflows/build-wheel-macos-arm64.yaml +++ b/.github/workflows/build-wheel-macos-arm64.yaml @@ -473,11 +473,6 @@ jobs: python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>1.27.1' - - name: Install PennyLane - run: | - # Install the specific pennylane version required - python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability - - name: Install OQC client if: matrix.python_version != '3.13' run: | From 29af470412f57d69c3ec1cecd16862ad9673bcfb Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Sat, 29 Nov 2025 20:00:54 -0500 Subject: [PATCH 4/6] fix --- .github/workflows/build-wheel-linux-arm64.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-wheel-linux-arm64.yaml b/.github/workflows/build-wheel-linux-arm64.yaml index 5aeb247570..b619cc1c59 100644 --- a/.github/workflows/build-wheel-linux-arm64.yaml +++ b/.github/workflows/build-wheel-linux-arm64.yaml @@ -468,16 +468,16 @@ jobs: run: | python${{ matrix.python_version }} -m pip install pytest pytest-xdist pytest-mock + - name: Install PennyLane Plugins + run: | + python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos + python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>=1.31.0' + - name: Install OQC client if: matrix.python_version != '3.13' run: | python${{ matrix.python_version }} -m pip install oqc-qcaas-client - - name: Install PennyLane - run: | - # Install the specific pennylane version required - python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability - - name: Install Catalyst run: | python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple From d5af37267bf9a41b214bfa38d5e6d9a2a04064f3 Mon Sep 17 00:00:00 2001 From: JerryChen97 Date: Sat, 29 Nov 2025 20:01:22 -0500 Subject: [PATCH 5/6] clean the extra command in makefile --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 7bee07d6d8..1fbcd30fa1 100644 --- a/Makefile +++ b/Makefile @@ -117,8 +117,6 @@ frontend: # versions of a package with the same version tag (e.g. 0.38-dev0). $(PYTHON) -m pip uninstall -y pennylane $(PYTHON) -m pip install -e . --extra-index-url https://test.pypi.org/simple $(PIP_VERBOSE_FLAG) - # TODO: remove after https://github.com/PennyLaneAI/pennylane/pull/8525 is merged. - $(PYTHON) -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability rm -r frontend/pennylane_catalyst.egg-info .PHONY: mlir llvm stablehlo enzyme dialects runtime oqc From 727f28b728b7df7248c1396a3d1a66ccf9d2e5f3 Mon Sep 17 00:00:00 2001 From: paul0403 Date: Mon, 1 Dec 2025 10:34:17 -0500 Subject: [PATCH 6/6] changelog fix --- doc/releases/changelog-dev.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/doc/releases/changelog-dev.md b/doc/releases/changelog-dev.md index 0e27eecf96..62a9172aad 100644 --- a/doc/releases/changelog-dev.md +++ b/doc/releases/changelog-dev.md @@ -72,13 +72,6 @@ * Resource tracking now tracks calls to `SetState` and `SetBasisState`, and can report results that include `qml.StatePrep` operations. [(#2230)](https://github.com/PennyLaneAI/catalyst/pull/2230) - -* Remove the hardcoded list of runtime operations in the frontend. - This will allow arbitrary PL gates to be represented without hyperparameters in MLIR. - For gates that do not have a QIR representation, a runtime error will be raised at execution. - Users can still decompose these gates via `qml.transforms.decompose` - when both capture and graph-decomposition are enabled. - [(#2215)](https://github.com/PennyLaneAI/catalyst/pull/2215) * `qml.PCPhase` can be compiled and executed with capture enabled. [(#2226)](https://github.com/PennyLaneAI/catalyst/pull/2226) @@ -147,6 +140,9 @@ * The plxpr transform `pl_map_wires` has been removed along with its test. [(#2220)](https://github.com/PennyLaneAI/catalyst/pull/2220) +* The JAX version used by Catalyst has been updated to 0.7.0. + [(#2131)](https://github.com/PennyLaneAI/catalyst/pull/2131) + * (Compiler integrators only) The versions of LLVM/Enzyme/stablehlo used by Catalyst have been updated. Enzyme now targets `v0.0.203` with the build target `EnzymeStatic-22`, and the nanobind requirement for the latest LLVM has been updated to version 2.9.