qir-alliance / qat

QIR compiler tools and optimization passes for targeting QIR to different hardware backends
https://qir-alliance.github.io/qat/
MIT License
27 stars 14 forks source link

Codebase refactor #137

Closed troelsfr closed 2 years ago

troelsfr commented 2 years ago

This PR refactors naming and in particular makes a clear distinction between three different entities:

It further introduces the notion of a target which is comprised of a profile and a QIS. The configuration is now divided into three main sections

Command line flags are now having an optional shorthand notation in addition to its long name. For instance, --emit-llvm is aliased with -S. Finally, this PR closes a couple of issues as seen in the log below.

kuzminrobin commented 2 years ago

Re-approving with some insignificant comments.