Work in progress
Current version of OCaml and the following dependencies:
$ opam install menhir utop openQASM
Assuming a directory structures as follows:
inQWIRE
├── SQIR
└── qasm_to_sqir
- Install dependencies and run
make
in the SQIR directory. - Run
./extractSQIRGates.sh
inqasm_to_sqir
directory. dune utop .
- In the
utop
REPL, play withQasm_to_sqir.parse "<file>.qasm";;
etc.