Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Added Tom's suggestions for docs

Co-authored-by: Thomas R. Bromley <[email protected]>
  • Loading branch information
Gabriel-Bottrill and trbromley authored Apr 26, 2024
1 parent 51ac8bb commit e609f24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@
(which is not currently compatible with `KerasLayer`), linking to instructions to enable Keras 2.
[(#5488)](https://github.com/PennyLaneAI/pennylane/pull/5488)


<h3>Breaking changes 💔</h3>

* Applying a `gradient_transform` to a QNode directly now gives the same shape and type independent
Expand Down
8 changes: 4 additions & 4 deletions pennylane/devices/default_qutrit_mixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def supports_derivatives(
circuit (QuantumTape): An optional circuit to check derivatives support for.
Returns:
Bool: Whether or not a derivative can be calculated provided the given information.
bool: Whether or not a derivative can be calculated provided the given information.
"""
if execution_config is None or execution_config.gradient_method in {"backprop", "best"}:
Expand Down Expand Up @@ -252,9 +252,9 @@ def preprocess(
Returns:
TransformProgram, ExecutionConfig: A transform program that when called returns
``QuantumTape`` objects that the device can natively execute, as well as a postprocessing
function to be called after execution, and a configuration with unset
specifications filled in.
``QuantumTape`` objects that the device can natively execute, as well as a postprocessing
function to be called after execution, and a configuration with unset
specifications filled in.
This device:
Expand Down

0 comments on commit e609f24

Please sign in to comment.