Skip to content

Commit 2d57352

Browse files
committed
anton comments
1 parent b87d36e commit 2d57352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pennylane/transforms/decompositions/gridsynth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def gridsynth(tape, *, epsilon, ppr_basis):
2424
2525
.. warning::
2626
27-
This transform requires QJIT and capture to be enabled,
27+
This transform requires QJIT and capture to be enabled (via :func:`qml.capture.enable() <pennylane.capture.enable>`),
2828
as it is a wrapper for Catalyst's ``gridsynth`` compilation pass.
2929
3030
Args:
@@ -57,5 +57,5 @@ def circuit(x):
5757
"""
5858

5959
raise NotImplementedError( # pragma: no cover
60-
"This transform pass (gridsynth) is only implemented when using capture and QJIT. Otherwise, please use qml.transforms.clifford_t_decomposition."
60+
"This transform pass (gridsynth) is only implemented when using program capture and QJIT. They can be activated by `qml.capture.enable()` and applying the `@qml.qjit` decorator. Otherwise, please use qml.transforms.clifford_t_decomposition."
6161
)

0 commit comments

Comments
 (0)