PennyLane ProjectQ Plugin





PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.

ProjectQ is an open-source compilation framework capable of targeting various types of hardware and a high-performance quantum computer simulator with emulation capabilities, and various compiler plug-ins.

This PennyLane plugin allows to use both the software and hardware backends of ProjectQ as devices for PennyLane.


  • Provides three devices to be used with PennyLane: projectq.simulator,, and projectq.classical. These provide access to the respective ProjectQ backends.

  • Supports a wide range of PennyLane operations and observables across the devices.

  • Combine ProjectQ high performance simulator and hardware backend support with PennyLane’s automatic differentiation and optimization.