Installation

To install the Merlin Quantum package from PyPI, use the following command:

pip install merlinquantum

MerLin 0.4 supports Perceval >=1.2.1 and PyTorch >=2.0.0, <2.13. For older releases, check the supported combinations in Compatibility.

You can also install the package from the source code for development purposes. Clone the repository and install it in editable mode:

git clone ssh://github.com/merlinquantum/merlin.git
cd merlin
pip install -e ".[dev]"

You are set, you can now start building your first quantum layer!