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.
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.