Skip to content

inQWIRE/qasm_to_sqir

Repository files navigation

OpenQASM to SQIR Translation

Work in progress

Requirements

Current version of OCaml and the following dependencies:

$ opam install menhir utop openQASM

Steps

Assuming a directory structures as follows:

inQWIRE
├── SQIR
└── qasm_to_sqir
  • Install dependencies and run make in the SQIR directory.
  • Run ./extractSQIRGates.sh in qasm_to_sqir directory.
  • dune utop .
  • In the utop REPL, play with Qasm_to_sqir.parse "<file>.qasm";; etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •