From 91f94db8111cd85635bf5bde2d02e57584d5951a Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Thu, 20 Jun 2024 16:29:26 -0400 Subject: [PATCH] update deprecations page --- doc/development/deprecations.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/development/deprecations.rst b/doc/development/deprecations.rst index 34c6e03b9b1..23f2c0749e9 100644 --- a/doc/development/deprecations.rst +++ b/doc/development/deprecations.rst @@ -21,6 +21,14 @@ Pending deprecations - Deprecated in v0.37 - Will be removed in v0.38 +* ``qml.from_qasm`` will no longer remove measurements from the QASM code. Calling ``qml.from_qasm`` + without specifying ``measurements`` will raise a deprecation warning in v0.37, and in v0.38, + the default behaviour will be changed to keeping measurements. Use ``measurements=[]`` to remove + measurements from the original circuit. + + - Deprecated in v0.37 + - Default behaviour will be changed in v0.38 + New operator arithmetic deprecations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~