sandialabs / pyGSTi

A python implementation of Gate Set Tomography
http://www.pygsti.info
Apache License 2.0
134 stars 56 forks source link

Feature faster testing stuff #403

Closed coreyostrove closed 6 months ago

coreyostrove commented 7 months ago

This PR contains primarily a set of updates for the unit tests and for the tutorial/example notebooks aimed at reducing their runtime in the CI setting. This also includes some changes modernizing tests/notebooks moving away from use of legacy modelpacks. See issue #380 for a checklist summarizing the notebooks and tests which were identified as bottlenecks which have been addressed. In all cases the changes made are ones that reduce computational requirements without meaningfully impacting either the test coverage, or the message conveyance of a tutorial. E.g. switching from the XYI to the XY gate set in an example to reduce parameter counts (making stuff run more quickly) while still demoing the intended feature/analysis. With all of these changes in place the notebook regression checks now run in almost exactly half the time (at least from spot checking a couple ubuntu runners comparing two-weeks ago to today).

In the mix are also a couple of minor bugfixes/codebase changes. These are: