Skip to content

Commit 4569252

Browse files
JerryChen97rniczhmaliasadipaul0403
authored
Update pennylane version (#2249)
**Context:** After two bumps of jax version in both Catalyst and Pennylane, here we update pennylane's pinned version back to the latest dev **Description of the Change:** **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:** --------- Co-authored-by: Hong-Sheng Zheng <[email protected]> Co-authored-by: Ali Asadi <[email protected]> Co-authored-by: paul0403 <[email protected]>
1 parent 76d0b2b commit 4569252

File tree

7 files changed

+5
-28
lines changed

7 files changed

+5
-28
lines changed

.dep-versions

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ enzyme=v0.0.203
1010

1111
# For a custom PL version, update the package version here and at
1212
# 'doc/requirements.txt'
13-
# TODO: uncomment and update to latest version of pennylane
14-
# after https://github.com/PennyLaneAI/pennylane/pull/8525 is merged.
15-
pennylane @ git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability
13+
pennylane=0.44.0-dev42
1614

1715
# For a custom LQ/LK version, update the package version here and at
1816
# 'doc/requirements.txt'

.github/workflows/build-wheel-linux-arm64.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,6 @@ jobs:
478478
run: |
479479
python${{ matrix.python_version }} -m pip install oqc-qcaas-client
480480
481-
- name: Install PennyLane
482-
run: |
483-
# Install the specific pennylane version required
484-
python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability
485-
486481
- name: Install Catalyst
487482
run: |
488483
python${{ matrix.python_version }} -m pip install dist/*.whl --extra-index-url https://test.pypi.org/simple

.github/workflows/build-wheel-linux-x86_64.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,11 +492,6 @@ jobs:
492492
python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos
493493
python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>=1.31.0'
494494
495-
- name: Install PennyLane
496-
run: |
497-
# Install the specific pennylane version required
498-
python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability
499-
500495
- name: Install OQC client
501496
if: matrix.python_version != '3.13'
502497
run: |

.github/workflows/build-wheel-macos-arm64.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,6 @@ jobs:
473473
python${{ matrix.python_version }} -m pip install PennyLane-Lightning-Kokkos
474474
python${{ matrix.python_version }} -m pip install 'amazon-braket-pennylane-plugin>1.27.1'
475475
476-
- name: Install PennyLane
477-
run: |
478-
# Install the specific pennylane version required
479-
python${{ matrix.python_version }} -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability
480-
481476
- name: Install OQC client
482477
if: matrix.python_version != '3.13'
483478
run: |

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ frontend:
117117
# versions of a package with the same version tag (e.g. 0.38-dev0).
118118
$(PYTHON) -m pip uninstall -y pennylane
119119
$(PYTHON) -m pip install -e . --extra-index-url https://test.pypi.org/simple $(PIP_VERBOSE_FLAG)
120-
# TODO: remove after https://github.com/PennyLaneAI/pennylane/pull/8525 is merged.
121-
$(PYTHON) -m pip install git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability
122120
rm -r frontend/pennylane_catalyst.egg-info
123121

124122
.PHONY: mlir llvm stablehlo enzyme dialects runtime oqc

doc/releases/changelog-dev.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@
7272
* Resource tracking now tracks calls to `SetState` and `SetBasisState`, and can report results
7373
that include `qml.StatePrep` operations.
7474
[(#2230)](https://github.com/PennyLaneAI/catalyst/pull/2230)
75-
76-
* Remove the hardcoded list of runtime operations in the frontend.
77-
This will allow arbitrary PL gates to be represented without hyperparameters in MLIR.
78-
For gates that do not have a QIR representation, a runtime error will be raised at execution.
79-
Users can still decompose these gates via `qml.transforms.decompose`
80-
when both capture and graph-decomposition are enabled.
81-
[(#2215)](https://github.com/PennyLaneAI/catalyst/pull/2215)
8275

8376
* `qml.PCPhase` can be compiled and executed with capture enabled.
8477
[(#2226)](https://github.com/PennyLaneAI/catalyst/pull/2226)
@@ -147,6 +140,9 @@
147140
* The plxpr transform `pl_map_wires` has been removed along with its test.
148141
[(#2220)](https://github.com/PennyLaneAI/catalyst/pull/2220)
149142

143+
* The JAX version used by Catalyst has been updated to 0.7.0.
144+
[(#2131)](https://github.com/PennyLaneAI/catalyst/pull/2131)
145+
150146
* (Compiler integrators only) The versions of LLVM/Enzyme/stablehlo used by Catalyst have been
151147
updated. Enzyme now targets `v0.0.203` with the build target `EnzymeStatic-22`, and the nanobind
152148
requirement for the latest LLVM has been updated to version 2.9.

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ lxml_html_clean
3333
--extra-index-url https://test.pypi.org/simple/
3434
pennylane-lightning-kokkos==0.44.0-dev11
3535
pennylane-lightning==0.44.0-dev11
36-
git+https://github.com/PennyLaneAI/pennylane@bump-jax-api-hashability
36+
pennylane==0.44.0-dev42

0 commit comments

Comments
 (0)