To use the code in this repository, add qasmtools/include
as an include directory.
In order to use the OpenQASM 2.0 standard instead of Qiskit specifications, set the compile definition USE_OPENQASM2_SPECS=true
.
mkdir build && cd build
cmake ..
make -j8 unit_tests
ctest
For unit testing with OpenQASM 2.0 specifications, do cmake .. -DUSE_OPENQASM2_SPECS=ON
.