Skip to content

Commit 72bdaa2

Browse files
Small fixes (#6513)
Changes to inaccurate deprecations and changelog --------- Co-authored-by: Mudit Pandey <[email protected]>
1 parent 6890211 commit 72bdaa2

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

doc/development/deprecations.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,12 @@ Pending deprecations
5656
- Deprecated in v0.39
5757
- Will be removed in v0.40
5858

59-
* The ``decomp_depth`` argument in ``qml.device`` is deprecated.
60-
61-
- Deprecated in v0.38
62-
- Will be removed in v0.39
63-
64-
* The ``simplify`` argument in ``qml.Hamiltonian`` and ``qml.ops.LinearCombination`` is deprecated.
65-
Instead, ``qml.simplify()`` can be called on the constructed operator.
66-
67-
- Deprecated in v0.37
68-
- Will be removed in v0.39
69-
7059
* The :class:`~pennylane.BasisStatePreparation` template is deprecated.
7160
Instead, use :class:`~pennylane.BasisState`.
7261

62+
- Deprecated in v0.39
63+
- Will be removed in v0.40
64+
7365
* The ``QubitStateVector`` template is deprecated.
7466
Instead, use ``StatePrep``.
7567

doc/releases/changelog-0.39.0.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ execution. PennyLane provides just-in-time compilation with its `@qml.qjit` deco
565565
* Python 3.9 is no longer supported. Please update to 3.10 or newer.
566566
[(#6223)](https://github.com/PennyLaneAI/pennylane/pull/6223)
567567

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

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

597-
* The native folding method `qml.transforms.fold_global` for the `qml.transforms.mitiagte_with_zne`
597+
* The native folding method `qml.transforms.fold_global` for the `qml.transforms.mitigate_with_zne`
598598
transform no longer expands the circuit automatically. Instead, the user should apply `qml.transforms.decompose` to
599599
decompose a circuit into a target gate set before applying `fold_global` or `mitigate_with_zne`.
600600
[(#6382)](https://github.com/PennyLaneAI/pennylane/pull/6382)

0 commit comments

Comments
 (0)