Skip to content

Commit 541f903

Browse files
authored
fix typo (#664)
1 parent e87c2d1 commit 541f903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_quantum/python/optimizers/spsa_minimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def minimize(expectation_value_function,
135135
Here is an example of optimize a function which consists the
136136
summation of a few quadratics.
137137
138-
>>> n = 5 # Number of quadractics
138+
>>> n = 5 # Number of quadratics
139139
>>> coefficient = tf.random.uniform(minval=0, maxval=1, shape=[n])
140140
>>> min_value = 0
141141
>>> func = func = lambda x : tf.math.reduce_sum(np.power(x, 2) * \

0 commit comments

Comments
 (0)