Skip to content

softwareQinc/qasmtools

Repository files navigation

qasmtools

GitHub 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

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

cmake -B build -DQASMTOOLS_QASM2_SPECS=ON`.