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

Make enums hashable #245

Closed sezna closed 10 months ago

sezna commented 11 months ago

Closes #236

sezna commented 11 months ago

This implementation has a lot of copypasta. We could write a custom derive and codegen a lot of this. Do you think that would be worth the effort, @idavis ?

qartik commented 10 months ago

@idavis I was wondering if there will be a new release for pyqir anytime soon incorporating this change.