package openQASM

All checked builds pass
  1. Overview
  2. Docs
Parser for OpenQASM (Open Quantum Assembly Language)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

Description

Parser for OpenQASM (Open Quantum Assembly Language)

Added to opam-repository:

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";;

Contributing

Pull requests are welcome.

License

MIT

Dependencies (3)

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

Dev Dependencies

None

Optional Dependencies

None

Used by (1)

  1. voqc

Conflicts

None

Build status

Results of building openQASM with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.4.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure