openQASM

Parser for OpenQASM (Open Quantum Assembly Language)
README

OCaml library for manipulating OpenQASM Abstract Syntax Tree

Requirements

This library requires a recent version of OCaml, dune and menhir.

Installation

Use the package manager opam to install OpenQASM parser.

opam install openQASM

Or use the standard make build and make install commands.

Usage

To play with the library, run dune utop (needs utop package) and issue a command such as:

OpenQASM.get_ast "teleport.qasm";;

Links

Contributing

Pull requests are welcome.

License

MIT

Install
Published
11 Jul 2022
Sources
openQASM-0.4.0.tbz
sha256=1df3e400539283030b72e45bc15af79ff9db32efa71452ad9a8b278ce4a792ba
sha512=3ad46f423c1c9e85880217b15fca8c9635b272314ed74e0e94f2e9c78331f5f969bd85ba6f324d417333207d0b72f338fa1dc1dff6ea1c3a984548866b8c84b5
Dependencies
menhir
>= "20190626"
dune
>= "2.0"
ocaml
>= "4.08"
Reverse Dependencies