quil-rs

Crates.ioquil-rs
lib.rsquil-rs
version0.27.0
sourcesrc
created_at2021-10-19 17:54:02.746537
updated_at2024-06-13 23:45:38.80884
descriptionRust tooling for Quil (Quantum Instruction Language)
homepage
repositoryhttps://github.com/rigetti/quil-rs
max_upload_size
id467448
size1,778,982
(rigetti-githubbot)

documentation

README

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
Commit count: 494

cargo fmt