package openQASM

  1. Overview
  2. Docs
Parser for OpenQASM (Open Quantum Assembly Language)

Install

Dune Dependency

Authors

Maintainers

Sources

openQASM-v0.3.0.tbz
sha256=09b91acef7beedf97fbced11139e4b10fffb5075fe551f6475e53e5cef578ef6
sha512=545188aec24a2ac922c26e15530e221de2b207da79c6ffebce80b433ca03d6709c7832a3b31b9ee783579a7d32b4a63b8f9b8bfcd647cd3c223537c5576437c4

Description

Parser for OpenQASM (Open Quantum Assembly Language)

Published: 17 Jan 2020

README

OpenQASM Parser

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 and issue a command such as:

OpenQASM.get_ast "teleport.qasm";;

Contributing

Pull requests are welcome.

License

MIT

Dependencies (2)

  1. menhir >= "20190626"
  2. dune >= "2.0"

Dev Dependencies

None

Used by (1)

  1. voqc

Conflicts

None