# rigetti/pyquil

A Python library for quantum programming using Quil.

Repository: https://github.com/rigetti/pyquil
Canonical: https://ross.abutalabs.com/products/pyquil
Homepage: http://docs.rigetti.com
Language: Python
License: Apache-2.0
License Family: permissive
Topics: forest, quil, quantum-computing, quantum-programming
Last push: 2026-08-20T11:45:41+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 3523, "days_push": 13, "days_rel": 14, "gap_med": 68.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1497, forks 358 (observed 2026-08-28T04:04:53.882498+00:00)

## What it is
PyQuil is a Python library for building quantum programs in the Quil instruction language developed by Rigetti Computing. It generates, compiles, and simulates Quil programs via the quilc compiler and Quantum Virtual Machine, and can execute them on real QPUs through Rigetti Quantum Cloud Services.

## Use cases
- write quantum circuits in Python
- simulate quantum programs locally
- compile Quil programs for quantum hardware
- run algorithms on Rigetti QPUs
- learn quantum programming with Jupyter notebooks
- build hybrid quantum-classical algorithms

## When to choose
- you work with Rigetti quantum processors or the Forest SDK
- you want a mature Python API for the Quil language
- you need local quantum simulation via the QVM

## When to avoid
- you target IBM/Qiskit or other non-Quil quantum platforms
- you need a framework-agnostic quantum SDK
- you only want quantum education without installing the Forest SDK toolchain

## Facets
- artifact type: library
- maturity: active
- function: sdk, interpreter, simulation
- domain: quantum-computing, programming-languages
- platform: python, windows
- tags: quantum-computing, quil, quantum-programming, qpu, quantum-simulation, rigetti, forest-sdk, algorithms, linux, macos

## Member repositories
- rigetti/pyquil (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:53.882498+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:10.366547+00:00, confidence not recorded.
  - readme: https://github.com/rigetti/pyquil (fetched 2026-08-28T04:04:53.882498+00:00, sha b47ef2f662b5)
  - homepage: http://docs.rigetti.com (fetched 2026-08-29T11:38:24.569056+00:00, sha 47a833fe5fa9)
  - registry_pypi: https://pypi.org/pypi/pyquil/json (fetched 2026-08-29T11:38:24.578399+00:00, sha d92c83b840c4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
