Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
albi3ro committed Jan 15, 2025
1 parent 0cd911c commit 100b25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane/workflow/jacobian_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def execute_and_compute_jacobian(self, tapes: QuantumScriptBatch) -> tuple[Resul

class NoGradients(JacobianProductCalculator):
"""A jacobian product calculator that raises errors when a vjp or jvp is requested."""

error_msg = "Derivatives cannot be calculated with diff_method=None"

def compute_jacobian(self, tapes: QuantumScriptBatch) -> tuple:
Expand Down

0 comments on commit 100b25c

Please sign in to comment.