Module quil_rs::program

source ·

Modules§

Structs§

  • A collection of Quil calibrations (DEFCAL instructions) with utility methods.
  • A collection of Quil frames (DEFFRAME instructions) with utility methods.
  • The product of evaluating [FrameMatchConditions] in the scope of available frames (such as within a crate::Program).
  • 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(ProgramParsingError::Leftover), converts it to Ok(_) with the parsed output.