Modules§
- This module contains analysis tools for Quil programs.
- 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. - The product of evaluating [
FrameMatchConditions
] in the scope of available frames (such as within acrate::Program
). - 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(ProgramParsingError::Leftover)
, converts it toOk(_)
with the parsed output.