package openQASM

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

Install

Dune Dependency

Authors

Maintainers

Sources

openQASM-0.4.0.tbz
sha256=1df3e400539283030b72e45bc15af79ff9db32efa71452ad9a8b278ce4a792ba
sha512=3ad46f423c1c9e85880217b15fca8c9635b272314ed74e0e94f2e9c78331f5f969bd85ba6f324d417333207d0b72f338fa1dc1dff6ea1c3a984548866b8c84b5

Description

Parser for OpenQASM (Open Quantum Assembly Language)

Published: 11 Jul 2022

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 (needs utop package) and issue a command such as:

OpenQASM.get_ast "teleport.qasm";;

Links

Contributing

Pull requests are welcome.

License

MIT

Dependencies (3)

  1. menhir >= "20190626"
  2. dune >= "2.0"
  3. ocaml >= "4.08"

Dev Dependencies

None

Used by (1)

  1. voqc

Conflicts

None

OCaml

Innovation. Community. Security.