The projectq.simulator
device in the PennyLane-ProjectQ plugin provides access to ProjectQ’s qubit state vector simulator written in both C++ and Python.
Recommended for:
See all PennyLane-ProjectQ devices:
The projectq.simulator
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.simulator', wires=2)
For more details on device settings and keyword arguments, see the device documentation.