Skip to content

Commit

Permalink
Final merge from RC branch to master (#6526)
Browse files Browse the repository at this point in the history
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: David Wierichs <[email protected]>
Co-authored-by: Pietropaolo Frisoni <[email protected]>
Co-authored-by: Astral Cai <[email protected]>
Co-authored-by: JerryChen97 <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: Guillermo Alonso-Linaje <[email protected]>
Co-authored-by: Andrija Paurevic <[email protected]>
Co-authored-by: Alex Preciado <[email protected]>
Co-authored-by: Justin Pickering <[email protected]>
Co-authored-by: Isaac De Vlugt <[email protected]>
Co-authored-by: ANTH0NY <[email protected]>
  • Loading branch information
13 people authored Nov 6, 2024
1 parent 95788c0 commit e0949ed
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/stable/external.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ packaging==24.1
pandocfilters==1.5.1
parso==0.8.4
pathspec==0.12.1
PennyLane-Catalyst==0.8.0
PennyLane_Lightning==0.38.0
PennyLane-Catalyst==0.9.0
PennyLane_Lightning==0.39.0
pexpect==4.9.0
pillow==10.4.0
platformdirs==4.2.2
Expand Down
14 changes: 3 additions & 11 deletions doc/development/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,12 @@ Pending deprecations
- Deprecated in v0.39
- Will be removed in v0.40

* The ``decomp_depth`` argument in ``qml.device`` is deprecated.

- Deprecated in v0.38
- Will be removed in v0.39

* The ``simplify`` argument in ``qml.Hamiltonian`` and ``qml.ops.LinearCombination`` is deprecated.
Instead, ``qml.simplify()`` can be called on the constructed operator.

- Deprecated in v0.37
- Will be removed in v0.39

* The :class:`~pennylane.BasisStatePreparation` template is deprecated.
Instead, use :class:`~pennylane.BasisState`.

- Deprecated in v0.39
- Will be removed in v0.40

* The ``QubitStateVector`` template is deprecated.
Instead, use ``StatePrep``.

Expand Down
8 changes: 4 additions & 4 deletions doc/releases/changelog-0.39.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ execution. PennyLane provides just-in-time compilation with its `@qml.qjit` deco
* Python 3.9 is no longer supported. Please update to 3.10 or newer.
[(#6223)](https://github.com/PennyLaneAI/pennylane/pull/6223)

* `default.qubit.tf`, `default.qubit.torch`, `default.qubit.jax`, and `default.qubit.autograd` have
been removed. Please use `default.qubit` for all interfaces.
* `default.qubit.legacy`, `default.qubit.tf`, `default.qubit.torch`, `default.qubit.jax`, and
`default.qubit.autograd` have been removed. Please use `default.qubit` for all interfaces.
[(#6207)](https://github.com/PennyLaneAI/pennylane/pull/6207)
[(#6208)](https://github.com/PennyLaneAI/pennylane/pull/6208)
[(#6209)](https://github.com/PennyLaneAI/pennylane/pull/6209)
Expand All @@ -591,10 +591,10 @@ execution. PennyLane provides just-in-time compilation with its `@qml.qjit` deco
* The `decomp_depth` keyword argument to `qml.device` has been removed.
[(#6234)](https://github.com/PennyLaneAI/pennylane/pull/6234)

* `Operator.expand` has been removed. Please use `qml.tape.QuantumScript(op.deocomposition())` instead.
* `Operator.expand` has been removed. Please use `qml.tape.QuantumScript(op.decomposition())` instead.
[(#6227)](https://github.com/PennyLaneAI/pennylane/pull/6227)

* The native folding method `qml.transforms.fold_global` for the `qml.transforms.mitiagte_with_zne`
* The native folding method `qml.transforms.fold_global` for the `qml.transforms.mitigate_with_zne`
transform no longer expands the circuit automatically. Instead, the user should apply `qml.transforms.decompose` to
decompose a circuit into a target gate set before applying `fold_global` or `mitigate_with_zne`.
[(#6382)](https://github.com/PennyLaneAI/pennylane/pull/6382)
Expand Down
2 changes: 1 addition & 1 deletion pennylane/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from packaging.version import Version

PL_CATALYST_MIN_VERSION = Version("0.8.0")
PL_CATALYST_MIN_VERSION = Version("0.9.0")


class CompileError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"appdirs",
"autoray>=0.6.11",
"cachetools",
"pennylane-lightning>=0.38",
"pennylane-lightning>=0.39",
"requests",
"typing_extensions",
"packaging",
Expand Down

0 comments on commit e0949ed

Please sign in to comment.