Installation

PennyLane-AQT requires Python >= 3.10. If you currently do not have Python 3 installed, we recommend Anaconda for Python 3, a distributed version of Python packaged for scientific computation. If you are using Python 3.12, ensure setuptools is up to date prior to installation:

$ python3 -m pip install --upgrade setuptools

PennyLane-AQT only requires PennyLane for use, no additional external frameworks are needed. The plugin can be installed via pip:

$ python3 -m pip install pennylane-aqt

Alternatively, you can install PennyLane-AQT from the source code by navigating to the top directory and running

$ python3 setup.py install

Software tests

To ensure that PennyLane-AQT is working correctly after installation, the test suite can be run by navigating to the source code folder and running

$ make test

Documentation

To build the HTML documentation, go to the top-level directory and run

$ make docs

The documentation can then be found in the doc/_build/html/ directory.