Module qasmsim::grammar

source ·
Expand description

Contain the machinery for parsing and processing OPENQASM programs. This module is unstable.

Notes

Be warned: the API of this module can change from release to release and break backwards compatibility regardless of the semantic versioning of the rest of the library. Ideally, this module will become a different crate. At the moment, the module and most of its functionallity will remain public for enabling the users to experiment with performing code manipulations at the abstract level.

Modules

  • Contain the data structures for creating OPENQASM ASTs. The module is unstable.
  • Contain the API for splitting the source code into tokens.

Functions