37 releases (8 breaking)

0.16.0-rc.0 Jan 24, 2023
0.15.0 Dec 7, 2022
0.15.0-rc.0 Oct 28, 2022
0.13.0 Jul 8, 2022
0.8.0 Oct 19, 2021

#256 in Parser implementations

Download history 217/week @ 2022-10-10 154/week @ 2022-10-17 463/week @ 2022-10-24 98/week @ 2022-10-31 267/week @ 2022-11-07 190/week @ 2022-11-14 65/week @ 2022-11-21 118/week @ 2022-11-28 119/week @ 2022-12-05 115/week @ 2022-12-12 55/week @ 2022-12-19 11/week @ 2022-12-26 43/week @ 2023-01-02 57/week @ 2023-01-09 47/week @ 2023-01-16 204/week @ 2023-01-23

351 downloads per month
Used in qcs

Apache-2.0

380KB
9K SLoC

Quil Parser & Program Builder

This library is the implementation of the Quil spec in Rust.

It serves three purposes:

  1. Parse Quil programs from strings, and output programs to strings
  2. Manipulate Quil programs within Rust
  3. Construct a dependency graph among program instructions

It should be considered unstable until the release of v1.0.

Testing

When testing this crate, you should run with the --all-features flag to ensure all tests are executed.

cargo test --all-features

lib.rs:

Welcome to the Rust implementation of the Quil quantum programming language.

Within this crate you'll find:

This crate is still early in its development and does not fully support all Quil features, nor claim a stable API. Prior to v1.0, minor-version changes are considered breaking changes. Please pin your versions when needed, and closely follow the changelog when upgrading.

Dependencies

~4MB
~76K SLoC