You're reading the documentation of the 0.3. For the latest released version, please have a look at 0.4.
merlin.core.generators module (removed)
Warning
Deprecated since version 0.3:
This module has been removed.
Use merlin.core.state for input-state helpers and CircuitBuilder
to build circuits.