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
54 stars 24 forks source link

Add API to merge QIR modules #285

Closed idavis closed 2 weeks ago

idavis commented 4 months ago

If would be beneficial to be able to merge QIR modules. A useful example would be decompositions. LLVM module metadata will enforce merging rules.