Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 35 commits ahead of XanaduAI:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

PennyLane PyQuest Plugin

PyQuest-cffi is a Python library that connects to the high-performance mixed state simulator QuEST.

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

Installation

PennyLane-PyQuest requires both PennyLane and PyQuest-cffi. It can be installed via pip:

$ pip install git+https://www.github.com/johannesjmeyer/pennylane-pyquest

Getting started

Once PennyLane-PyQuest is installed, the provided PyQuest-cffi devices can be accessed straight away in PennyLane. The plugin provides both a pure state and a mixed state simulator based on QuEST.

You can instantiate these devices for PennyLane as follows:

import pennylane as qml
dev1 = qml.device('pyquest.pure', wires=2)
dev2 = qml.device('pyquest.mixed', wires=2)

These devices can then be used just like other devices for the definition and evaluation of QNodes within PennyLane. For more details, see the plugin usage guide and refer to the PennyLane documentation.

Contributing

We welcome contributions - simply fork the PennyLane-PyQuest repository, and then make a pull request containing your contribution. All contributers to PennyLane-PyQuest will be listed as authors on the releases.

We also encourage bug reports, suggestions for new features and enhancements.

Authors

Johannes Jakob Meyer.

Support

If you are having issues, please let us know by posting the issue on our GitHub issue tracker.

License

PennyLane-PyQuest is free and open source, released under the Apache License, Version 2.0.

About

This template repository provides the boilerplate and file structure required to easily create your own PennyLane plugin.

Resources

License

Releases

No releases published

Packages

No packages published