You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add runtime-version checking `qk_api_version`
We currently have `QISKIT_VERSION_HEX` as a macro, which allows
programmatically querying the version of the header files used at build
time. `qk_api_version` provides the equivalent information for the
_library_ version at runtime. This can differ in the case of dynamic
linkage, either by regular means or by the manual means in Python
extension modules.
I wanted to squeeze this into the 2.4 release because it means that safe
dynamic-linkage version checking will be available in _every_ version of
the C API that practically supports it, including in Python extensions.
For aesthetic reasons, I wanted this function (which may become part of
the `qk_import` handshake one day) to get a slot at offset 0.
* Use the heathen form of hexadecimals
Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com>
* Handle beta versions completely
---------
Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com>
0 commit comments