Qiskit / qiskit-ibm-transpiler

https://pypi.org/project/qiskit-transpiler-service/
Apache License 2.0
15 stars 4 forks source link

Add a method to get the package version #18

Open cbjuan opened 1 month ago

cbjuan commented 1 month ago

The library should have a way to get the current version being used.

We could have a method to return the version. Also, Qiskit typically has a __version__ shorthand for this https://github.com/Qiskit/qiskit/blob/9d8be7e7553a9336a55ba6f5c755e4accdb2695d/qiskit/version.py#L64-L84, we could have it too to be consistent with what the Qiskit main library does.