Installation¶
This plugin requires Python version 3.5 and above, as well as PennyLane and ProjectQ. Installation of this plugin, as well as all dependencies, can be done using pip:
$ python -m pip install pennylane_pq
To test that the PennyLane ProjectQ plugin is working correctly you can run
$ make test
in the source folder. Tests restricted to a specific device can be run by executing
make test-simulator
, make test-ibm
, or make test-classical
.
Note
Tests on the ibm device
can only be run if a user
and password
for the
IBM Q experience are configured
in the PennyLane configuration file.
If this is the case, running make test
also executes tests on the ibm
device.
By default tests on the ibm
device run with hardware=False
. At the time of writing this
means that the test are “free”. Please verify that this is also the case for your account.