quil-rs

Crates.ioquil-rs
lib.rsquil-rs
version0.29.2
sourcesrc
created_at2021-10-19 17:54:02.746537
updated_at2024-11-06 19:37:04.018685
descriptionRust tooling for Quil (Quantum Instruction Language)
homepage
repositoryhttps://github.com/rigetti/quil-rs
max_upload_size
id467448
size1,928,319
(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: 558

cargo fmt