SkillAgentSearch skills...

OpenQASM.jl

Parsers and Tools for OpenQASM

Install / Use

/learn @QuantumBFS/OpenQASM.jl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

OpenQASM

CI Coverage

Tools for parsing OpenQASM.

Installation

<p> OpenQASM is a &nbsp; <a href="https://julialang.org"> <img src="https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/master/images/julia.ico" width="16em"> Julia Language </a> &nbsp; package. To install OpenQASM, please <a href="https://docs.julialang.org/en/v1/manual/getting-started/">open Julia's interactive session (known as REPL)</a> and press <kbd>]</kbd> key in the REPL to use the package mode, then type the following command </p>
pkg> add OpenQASM

Usage

This package provides a simple function OpenQASM.parse to parse a QASM string to its AST according to its BNF specification described in OpenQASM 2.0.

demo

Roadmap

  • [x] support for QASM 2.0
  • [ ] support for QASM 3.0

Cite Us

If you use OpenQASM.jl in your research, please cite our paper:

@article{Luo2020yaojlextensible,
  doi = {10.22331/q-2020-10-11-341},
  url = {https://doi.org/10.22331/q-2020-10-11-341},
  title = {Yao.jl: {E}xtensible, {E}fficient {F}ramework for {Q}uantum {A}lgorithm {D}esign},
  author = {Luo, Xiu-Zhe and Liu, Jin-Guo and Zhang, Pan and Wang, Lei},
  journal = {{Quantum}},
  issn = {2521-327X},
  publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
  volume = {4},
  pages = {341},
  month = oct,
  year = {2020}
}

License

OpenQASM is released under the MIT license.

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated5mo ago
Forks8

Languages

Julia

Security Score

92/100

Audited on Oct 18, 2025

No findings