Module quil_rs::program

source ·

Modules

  • Utilities for analysis of the dependency graph of a Quil Program
  • Type check Quil programs.

Structs

  • A collection of Quil calibrations (DEFCAL instructions) with utility methods.
  • A collection of Quil frames (DEFFRAME instructions) with utility methods.
  • A Quil Program instance describes a quantum program with metadata used in execution.

Enums

Functions

  • If parsing was successful but there is leftover input, returns a SyntaxError::Leftover containing the output.
  • Map the parsed output into another value.
  • If this result is Err(ProgramError::Leftover), converts it to Ok(_) with the parsed output.

Type Definitions