OCaml library for manipulating OpenQASM Abstract Syntax Tree
This library requires a recent version of OCaml, dune and menhir.
Use the package manager opam to install OpenQASM parser.
opam install openQASMOr use the standard make build and make install commands.
To play with the library, run dune utop (needs utop package) and issue a command such as:
OpenQASM.get_ast "teleport.qasm";;Pull requests are welcome.