The Unitary Foundation 2025 Quantum Open Source Software Survey is now open. Share your voice before it closes on October 3, 2025! Take the survey!
The projectq.classical device in the PennyLane-ProjectQ plugin is based on ProjectQ’s “classical” simulator backend, which only allows classical gates such as NOTs.
projectq.classical
Recommended for:
See all PennyLane-ProjectQ devices:
The ``projectq.classical` device can be installed with:
pip install pennylane_pq
For more details on installation and dependencies, visit the PennyLane-ProjectQ installation page.
Initialize the device in PennyLane with:
import pennylane as qml dev = qml.device('projectq.classical', wires=2)
For more details on device settings and keyword arguments, see the device documentation.