Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have pyGSTi check qibo version before attempting to execute qibo functions #363

Closed
rileyjmurray opened this issue Nov 3, 2023 · 1 comment
Labels
bug A bug or regression

Comments

@rileyjmurray
Copy link
Contributor

PyGSTi can optionally use a Python package called "qibo" for one of its evotypes (see here).

At time of writing, pyGSTi isn't compatible with qibo version 0.2.x or higher. If you install pygsti with pip install -e .['testing'] then you should get qibo 0.1.7 and pyGSTi works normally.

Here's the problem. If you somehow get qibo version 0.2.x in the same Python environment as pyGSTi, then pyGSTi will assume it's the older version. This can lead to uninformative errors and/or crashes. We should update pyGSTi's relevant qibo code to do runtime check(s) that an acceptable version of qibo is installed.

@rileyjmurray rileyjmurray added the bug A bug or regression label Nov 3, 2023
@sserita
Copy link
Contributor

sserita commented Nov 7, 2023

This is also related to #262. Short-term we will make sure all versions are pinned to 0.1.7, long-term we will deprecate and remove Qibo. It is not what we are looking for in a third-party integrated simulator and has seen no use.

@sserita sserita added the fixed-but-not-in-release-yet Bug has been fixed, but isn't in an official release yet (just exists on a development branch) label Nov 10, 2023
@sserita sserita removed the fixed-but-not-in-release-yet Bug has been fixed, but isn't in an official release yet (just exists on a development branch) label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants