Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softwareqinc/qasmtools
OpenQASM 2.0 parser
https://github.com/softwareqinc/qasmtools
cpp cpp17 openqasm openqasm-parser quantum-computing
Last synced: 8 days ago
JSON representation
OpenQASM 2.0 parser
- Host: GitHub
- URL: https://github.com/softwareqinc/qasmtools
- Owner: softwareQinc
- License: mit
- Created: 2021-09-08T20:24:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T19:17:05.000Z (2 months ago)
- Last Synced: 2024-09-06T22:51:34.562Z (2 months ago)
- Topics: cpp, cpp17, openqasm, openqasm-parser, quantum-computing
- Language: C++
- Homepage:
- Size: 6.18 MB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qasmtools
[![GitHub actions](https://github.com/softwareqinc/qasmtools/actions/workflows/cmake.yml/badge.svg)](https://github.com/softwareQinc/qasmtools/actions)
To use the code in this repository, add `qasmtools/include` as an include
directory.---
## OpenQASM 2.0 standard specifications
In order to use the OpenQASM 2.0 standard instead of Qiskit specifications, set
the compile definition `QASMTOOLS_QASM2_SPECS=ON`.---
## Unit testing
```shell
cmake -B build
cmake --build build --target unit_tests --parallel 8
ctest --test-dir build
```For unit testing with OpenQASM 2.0 specifications, configure with
```shell
cmake -B build -DQASMTOOLS_QASM2_SPECS=ON`.
```