A library for easily generating Quil programs to be executed using the Rigetti Forest platform. pyQuil is licensed under the Apache 2.0 license.
Please note: To make full use of our SDK, in addition to installing pyQuil, you'll need to download quilc and the QVM, which will allow you to compile and simulate programs on your local machine. If you'd like to run programs on our quantum computers, you'll need to sign up for Quantum Cloud Services.
Documentation is hosted at http://pyquil.readthedocs.io/en/latest/
You can install pyQuil as a conda package (recommended):
conda install -c -conda-forge pyquil
or using pip
:
pip install pyquil
To instead install pyQuil from source, clone this repository, cd
into it, and run:
pip install -e .
See the Getting Started Guide to start writing quantum programs!
Join the public Forest Slack channel at http://slack.rigetti.com.
The following projects have been contributed by community members:
- Syntax Highlighting for Quil contributed by James Weaver
- Web Based Circuit Simulator contributed by Ravisankar A V
- Quil in Javascript contributed by Nick Doiron
- Quil in Java contributed by Victory Omole
To make changes to PyQuil itself see DEVELOPMENT.md for instructions on development and testing.
If you use pyQuil, Grove, or other parts of the Rigetti Forest stack in your research, please cite it as follows:
BibTeX:
@misc{1608.03355,
title={A Practical Quantum Instruction Set Architecture},
author={Smith, Robert S and Curtis, Michael J and Zeng, William J},
journal={arXiv preprint arXiv:1608.03355},
year={2016}
}
Text:
R. Smith, M. J. Curtis and W. J. Zeng, "A Practical Quantum Instruction Set Architecture," (2016),
arXiv:1608.03355 [quant-ph], https://arxiv.org/abs/1608.03355