The PennyLane-Quandela plugin integrates the Quandela Perceval quantum computing framework with PennyLane's quantum machine learning capabilities.
PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.
Perceval provides tools for composing photonic circuits from linear optical components like beamsplitters and phase shifters, defining single-photon sources, manipulating Fock states, and running simulations.
This plugin requires Python version 3.9 and above, as well as PennyLane and Quandela Perceval. Installation of this plugin, as well as all dependencies could be done manually:
git clone https://github.com/oradomskyi/pennylane-quandela
then to install plugin:
pip install .
Unit tests files are part of the repository in tests/ and can be run with:
pip install -r tests/requirements.txt
pytest