Skip to content
Merged
5 changes: 5 additions & 0 deletions doc/introduction/interfaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ PennyLane also provides higher-level classes for converting QNodes into ``torch.

pennylane.qnn.TorchLayer

.. warning::

PennyLane's QNodes currently promote all ``torch.float32`` (single-precision) inputs to ``torch.float64``
(double-precision) during execution. This may result in higher memory usage than expected.


.. note::

Expand Down
5 changes: 5 additions & 0 deletions doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,10 @@
Trimmed the outdated part of discussion regarding different choices of `alpha`.
[(#8100)](https://github.com/PennyLaneAI/pennylane/pull/8100)

* A warning was added to the interfaces documentation under the Pytorch section saying that all Pytorch floating-point inputs are promoted
to `torch.float64`.
[(#8124)](https://github.com/PennyLaneAI/pennylane/pull/8124)

* The :doc:`Dynamic Quantum Circuits </introduction/dynamic_quantum_circuits>` page has been updated to include the latest device-dependent mid-circuit measurement method defaults.
[(#8149)](https://github.com/PennyLaneAI/pennylane/pull/8149)

Expand Down Expand Up @@ -1149,6 +1153,7 @@ Pablo Antonio Moreno Casares
Erick Ochoa,
Mudit Pandey,
Andrija Paurevic,
Justin Pickering,
Alex Preciado,
Shuli Shu,
Jay Soni,
Expand Down
Loading