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
- Errors that may occur while parsing a
Program
. - Failed to deserialize a Quil program for some reason.
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
isErr(ProgramError::Leftover)
, converts it toOk(_)
with the parsed output.