Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.67 KB

README.rst

File metadata and controls

51 lines (31 loc) · 1.67 KB

PennyLane-Quandela Plugin

CodeFactor

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.

Installation

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 .

Running tests

Unit tests files are part of the repository in tests/ and can be run with:

pip install -r tests/requirements.txt
pytest