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.
As described in Issue #250, the Base Profile spec specifies that
required_num_qubits
andrequired_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 oldnum_required_*
attributes in order to maintain as much backwards compatibility as possible, but please let me know if I've missed anything there.