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
Describe the bug
In the "Getting Started" section of the README.md file, both examples contain:
from pygsti.construction import std1Q_XYI
pygsti.construction appears to be deprecated, possibly replaced by pygsti.modelpacks
To Reproduce
Running the line above produces:
ModuleNotFoundError Traceback (most recent call last)
Cell In[8], line 1
----> 1 from pygsti.construction import std1Q_XYI
ModuleNotFoundError: No module named 'pygsti.construction'
Expected behavior
The Getting Started section promises some quick examples of circuit simulation and gate set tomography, both of which are dependent on this deprecated package. It would be helpful to update this "Getting Started" section with the most current packages/syntax, possibly pointing to the tutorials.
Environment (please complete the following information):
pyGSTi version 0.9.11.1
python version 3.10.9
OS - Windows 11
The text was updated successfully, but these errors were encountered:
Thanks for bringing this to our attention, @nemill! It is funny how easy it is to miss the things that are just in front of us. This runs adjacent to but was missed in issue #317 where I described the goal for an upcoming release to bring the tutorial notebooks back up to date (just for context). Please do raise additional issues if you run into any other places where we have out of date code outside of the readme and the tutorials.
Describe the bug
In the "Getting Started" section of the README.md file, both examples contain:
from pygsti.construction import std1Q_XYI
pygsti.construction appears to be deprecated, possibly replaced by pygsti.modelpacks
To Reproduce
Running the line above produces:
ModuleNotFoundError Traceback (most recent call last)
Cell In[8], line 1
----> 1 from pygsti.construction import std1Q_XYI
ModuleNotFoundError: No module named 'pygsti.construction'
Expected behavior
The Getting Started section promises some quick examples of circuit simulation and gate set tomography, both of which are dependent on this deprecated package. It would be helpful to update this "Getting Started" section with the most current packages/syntax, possibly pointing to the tutorials.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: