Welcome to the Docs for pyQuil!¶
As a component of the Rigetti Forest SDK, pyQuil allows you to build and execute Quil programs using Python. pyQuil requires installation of the other components of the Forest SDK, namely the Quil compiler (quilc) and the Quantum Virtual Machine (QVM), used for simulating quantum computers. You can also use pyQuil to run programs against real quantum computers using Rigetti’s Quantum Cloud Services (QCS).
To learn more about Quil, the Forest SDK, and QCS, visit the Rigetti docs site.
If you’re new to pyQuil, we hope this documentation will serve as a helpful reference. Head to Installation and Getting Started to get started.
Note
If you’ve used pyQuil before, be sure to check out Migrating from pyQuil v2 to v3 for help with moving to the newest pyQuil release.
Note
To join our user community, connect to the Rigetti Slack workspace using this invite.
Contents
- Installation and Getting Started
- Programs and Gates
- The Quantum Computer
- The Wavefunction Simulator
- The Quil Compiler
- Noise and Quantum Computation
- Advanced Usage
- Troubleshooting
- Exercises
- Migrating from pyQuil v2 to v3
- Changelog
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.5.0-rc.0
- 3.4.1
- 3.4.0
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.3.0-rc.0
- v3.2.0
- v3.1.0
- v3.0.1
- v3.1.0
- v3.0.1
- v3.0.0
- v2.28.2 (July 6, 2021)
- v2.28.1 (May 5, 2021)
- v2.28.0 (January 26, 2021)
- v2.27.0 (December 30, 2020)
- v2.26.0 (December 10, 2020)
- v2.25.0 (November 17, 2020)
- v2.24.0 (November 5, 2020)
- v2.23.1 (September 9, 2020)
- v2.23.0 (September 7, 2020)
- v2.22.0 (August 3, 2020)
- v2.21.1 (July 15, 2020)
- v2.21.0 (July 14, 2020)
- v2.20 (June 5, 2020)
- v2.19 (March 26, 2020)
- v2.18 (March 3, 2020)
- v2.17 (January 30, 2020)
- v2.16 (January 10, 2020)
- v2.15 (December 20, 2019)
- v2.14 (November 25, 2019)
- v2.13 (November 7, 2019)
- v2.12 (September 28, 2019)
- v2.11 (September 3, 2019)
- v2.10 (July 31, 2019)
- v2.9.1 (June 28, 2019)
- v2.9 (June 25, 2019)
- v2.8 (May 20, 2019)
- v2.7.2 (May 3, 2019)
- v2.7.1 (April 30, 2019)
- v2.7 (April 29, 2019)
- v2.6 (March 29, 2019)
- v2.5 (March 6, 2019)
- v2.4 (February 14, 2019)
- v2.3 (January 28, 2019)
- v2.2 (January 4, 2019)
- v2.1 (November 30, 2018)
- v2.0 (November 1, 2018)
- v1.9 (June 6, 2018)
Quil-T
API Reference