Tools for parsing OpenQASM.
OpenQASM is a  
    
        
        Julia Language
    
      package. To install OpenQASM,
    please open
    Julia's interactive session (known as REPL) and press ] key in the REPL to use the package mode, then type the following command
pkg> add OpenQASMThis 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.
- support for QASM 2.0
- support for QASM 3.0
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}
}OpenQASM is released under the MIT license.
