From 3ced905baec330179abd512a1639e5c3edf0f028 Mon Sep 17 00:00:00 2001 From: majafranz Date: Thu, 4 Apr 2024 10:05:37 +0200 Subject: [PATCH] Fix typo in the docstring of Differentiator.differentiate_analytic --- tensorflow_quantum/python/differentiators/differentiator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_quantum/python/differentiators/differentiator.py b/tensorflow_quantum/python/differentiators/differentiator.py index 4b1d597ed..a64278ab2 100644 --- a/tensorflow_quantum/python/differentiators/differentiator.py +++ b/tensorflow_quantum/python/differentiators/differentiator.py @@ -331,7 +331,7 @@ def differentiate_analytic(self, programs, symbol_names, symbol_values, """Differentiate a circuit with analytical expectation. This is called at graph runtime by TensorFlow. `differentiate_analytic` - calls he inheriting differentiator's `get_gradient_circuits` and uses + calls the inheriting differentiator's `get_gradient_circuits` and uses those components to construct the gradient. Note: the default implementation does not use `forward_pass_vals`; the