99 releases (14 breaking)

0.22.2 Nov 23, 2023
0.21.7 Oct 25, 2023
0.20.0 Jul 28, 2023
0.16.0-rc.1 Mar 14, 2023
0.8.0 Oct 19, 2021

#429 in Parser implementations

Download history 672/week @ 2023-08-13 1206/week @ 2023-08-20 527/week @ 2023-08-27 429/week @ 2023-09-03 354/week @ 2023-09-10 1035/week @ 2023-09-17 237/week @ 2023-09-24 96/week @ 2023-10-01 452/week @ 2023-10-08 415/week @ 2023-10-15 664/week @ 2023-10-22 514/week @ 2023-10-29 745/week @ 2023-11-05 523/week @ 2023-11-12 978/week @ 2023-11-19 1027/week @ 2023-11-26

3,294 downloads per month
Used in 3 crates

Apache-2.0

600KB
14K 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.

Crate Features

Feature Description
graphviz-dot Enable plotting ScheduledPrograms in Graphviz dotfile format.
wasm-bindgen Enable compilation to wasm32-unknown-unknown with wasm-bindgen

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

~9MB
~169K SLoC