Skip to content

Commit f83f690

Browse files
committed
grammar; remove unused imported
1 parent 21f509b commit f83f690

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

demonstrations/tutorial_eqnn_force_field_catalyst_compiled.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
import jax
1717
from jax import numpy as jnp
1818

19-
import scipy
2019
import matplotlib.pyplot as plt
21-
import sklearn
2220

2321
import catalyst
2422
from catalyst import qjit
@@ -87,11 +85,11 @@ def noise_layer(epsilon, wires):
8785

8886

8987
######################################################################
90-
# The core function that is called repeatedly many times can benifit from being just-in-time compiled with qjit.
88+
# The core function that is called repeatedly can benefit from being just-in-time compiled with qjit.
9189
# All we need to do is decorate the function with the `@qjit` decorator.
9290
#
9391
# Catalyst has its own `for_loop` function to work with qjit.
94-
# `catalyst.for_loop` should be used when the loop bounds or step depends on the qjit-ted function's input arguments.
92+
# `catalyst.for_loop` should be used when the loop bounds or step depend on the qjit-ted function's input arguments.
9593
# If there is no such dependence, `catalyst.for_loop` can still be used.
9694
# Here we showcase both usages.
9795

0 commit comments

Comments
 (0)