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

Spec compliance: change num_required_* to required_num_* #251

Closed bmhowe23 closed 9 months ago

bmhowe23 commented 10 months ago

As described in Issue #250, the Base Profile spec specifies that required_num_qubits and required_num_results must be used in the entry point function. This change updates the pyqir project to use those attributes in all places. I think it also maintains ability to parse old num_required_* attributes in order to maintain as much backwards compatibility as possible, but please let me know if I've missed anything there.

bmhowe23 commented 10 months ago

@microsoft-github-policy-service agree [company="NVIDIA"]

bmhowe23 commented 10 months ago

@microsoft-github-policy-service agree company="NVIDIA"