Skip to content

Commit ee84685

Browse files
Apply suggestions from code review
Co-authored-by: ANT0N <[email protected]>
1 parent ef5914d commit ee84685

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pennylane/transforms/decompositions/gridsynth.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def gridsynth(tape, *, epsilon, ppr_basis):
2525
.. warning::
2626
2727
This transform requires QJIT and capture to be enabled,
28-
as it is a wrapper for the Catalyst ``gridsynth`` compilation pass.
28+
as it is a wrapper for Catalyst's ``gridsynth`` compilation pass.
2929
3030
Args:
3131
tape (QNode): A quantum circuit.
@@ -51,7 +51,8 @@ def circuit(x):
5151
5252
.. warning::
5353
54-
Using ``epsilon`` value smaller than ``1e-7`` can lead to overflow in the current implementation, and may lead to errors.
54+
Using an ``epsilon`` value smaller than ``1e-7`` may lead to inaccurate results,
55+
due to potential integer overflow in the solver.
5556
5657
"""
5758

0 commit comments

Comments
 (0)