# Lyapunov Exponents
Lyapunov exponents measure exponential rates of separation of nearby trajectories in the flow
of a dynamical system. The [Wikipedia
article](https://en.wikipedia.org/wiki/Lyapunov_exponent)
has a good introduction.

The following code computes the Lyapunov exponents for the flow of the Lorenz system.

```{.python.input}
#@tab pytorch
from p