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
There are three changes in this PR
1. (2d2fb9c) **Make notebooks runnable
with nb-tester**
This commit modifies some of the notebooks to make them executable from
start to finish. Most common change is defining `instance` and
`backend_name` in a hidden cell and giving example values through a
comment, rather than having `backend_name = '<your-backend>'`.
2. (945b8d7) **Add extended strategy
and reclassify notebooks**
Adds a new "extended" test that runs the notebooks on IBM Quantum's
`test-eagle` device.
This device accepts jobs and returns random bit strings in a very short
time period, which is great for testing notebooks that submit jobs too
large for a local simulator. This also allows us to test functions
notebooks, which take a backend name (string) of an IBM Quantum device,
rather than the backend object itself.
3. (9f3df9e) **Add extended notebook
tests action**
I originally hoped we could test notebooks with test-eagle in CI, but
the jobs can be flaky and take just a little too long to complete.
Running these jobs on every commit is too expensive and could block
writers.
Instead, I've added a new "extended" test that we can trigger manually
on branches when we need it. Examples could be dependabot PRs, or PRs to
functions notebooks; when the PR is ready, we'll trigger the workflow on
the PR branch to check the notebooks run correctly. To trigger the
workflow, go to Actions > Test notebook (extended) > Run workflow, then
select the PR branch and click "Run workflow".
***
Fixes#2240, fixes#2239, and fixes#2198.
Investigate if we can test any of the functions notebooks in the fortnightly cron job.
Todo:
<YOUR_API_TOKEN>
and<YOUR_IQP_GROUP>
when testingLarge notebook changes are out of scope of this issue.
The text was updated successfully, but these errors were encountered: