qir-alliance / pyqir

PyQIR is a set of APIs for generating, parsing, and evaluating Quantum Intermediate Representation (QIR).
https://qir-alliance.github.io/pyqir
MIT License
57 stars 24 forks source link

Adds support for `select` instructions to pyqir-parser #118

Closed swernli closed 2 years ago

LaurentAjdnik commented 2 years ago

LGTM, great job!

Tiny typo on test_parser_pyhthonic_select() (extra h after py).

Note: LLVM select allows for vectors of conditions and values, which llvm_ir does not.