Skip to content

Update requirements.txt for tutorials #3071

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

Closed
frankharkins opened this issue Apr 30, 2025 · 1 comment · Fixed by #3093
Closed

Update requirements.txt for tutorials #3071

frankharkins opened this issue Apr 30, 2025 · 1 comment · Fixed by #3093

Comments

@frankharkins
Copy link
Member

We've noticed at least one tutorial (Generating long-range entanglement with measurements) that has a requirement not listed in requirements.txt. We should update the requirements file to include it.

@emilkovacev
Copy link
Collaborator

I'm taking a look at this now, should have a PR ready in a day or two.

Eric-Arellano added a commit that referenced this issue May 13, 2025
commit 539d82097ac378a26892f7ecb4586d2df4ab12c3
Author: Eric Arellano <[email protected]>
Date:   Tue May 13 15:55:00 2025 -0400

    Rename part 2

commit 9c2c424a8b80856b295ce5c0091c38985ce7f2ba
Author: Eric Arellano <[email protected]>
Date:   Tue May 13 15:54:36 2025 -0400

    Rename part 1

commit 765a73c
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:29:49 2025 -0400

    Added a course introduction

commit 84eff50
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:14:11 2025 -0400

    Removed hyphen from my own handle in qiskit_bot.yaml

commit 526e092
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:05:29 2025 -0400

    Removed hyphen from my own handle in qiskit_bot.yaml

commit ed35726
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:01:14 2025 -0400

    Fixed sp errors and added words to ignore to each file

commit ce8e441
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:54:14 2025 -0400

    Fixed sp errors and added words to ignore to each file

commit e2b0540
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:45:48 2025 -0400

    Fixed sp errors and added words to ignore to each file

commit bab8bb5
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:18:53 2025 -0400

    Fixed sp errors and added words to ignore to QVCs QNNs

commit ac04ccc
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:15:23 2025 -0400

    Fixed sp errors and added words to ignore to QVCs QNNs

commit c75b963
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:52:07 2025 -0400

    Added QVC and QNN to dictionary

commit b23d30e
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:17:35 2025 -0400

    Fixed description and title in kernel methods

commit 50810c7
Merge: 29cdc84 6426ce4
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:09:05 2025 -0400

    Merge branch 'CP/QML' of https://github.com/Qiskit/documentation into CP/QML

commit 29cdc84
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:08:33 2025 -0400

    Edited description and title of each notebook in QML

commit 6426ce4
Merge: d834a24 9b4e192
Author: christopherporter1 <[email protected]>
Date:   Tue May 13 11:55:10 2025 -0400

    Merge branch 'main' into CP/QML

commit 9b4e192
Author: Kaelyn Ferris <[email protected]>
Date:   Tue May 13 11:39:07 2025 -0400

    Update testing env to include `PendingDeprecation` warnings (#3114)

    Closes #2716

    According to the official python docs, `PendingDeprecation` warnings are
    [ignored by
    default](https://docs.python.org/3/library/exceptions.html#PendingDeprecationWarning)
    unless [Python Development
    Mode](https://docs.python.org/3/library/devmode.html) is enabled (done
    either through the `-Xdev` or `-Wd` flags when invoking `python` or by
    setting the environment variable `PYTHONDEVMODE=1`).

    This PR sets the `tox` environment to run using dev mode with the
    `PYTHONDEVMODE` env var.

commit d834a24
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 10:41:29 2025 -0400

    replaced Frank's addition of Prac QC to index, qiskit_bot, and notebook checker

commit 1c9860d
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 09:18:04 2025 -0400

    replaced python with python3 in start, check, fix

commit 42ec9e4
Author: Emil Kovacev <[email protected]>
Date:   Tue May 13 06:55:25 2025 -0400

    Adds additional tutorials requirements for nb-tester (#3093)

    Closes #3071

commit a942952
Author: abbycross <[email protected]>
Date:   Mon May 12 14:04:37 2025 -0400

    Specify rolling plan is for Premium only (#3113)

    Mention on fair-share-scheduler page that the 28-day rolling window only
    applies to Premium, not Flex Plan.

commit 476035b
Author: Christopher Porter <[email protected]>
Date:   Mon May 12 13:09:35 2025 -0400

    Added course to index

commit acfd586
Author: Christopher Porter <[email protected]>
Date:   Mon May 12 11:47:28 2025 -0400

    Update notebook-testing.toml

commit 7cd57d7
Author: Rebecca Dimock <[email protected]>
Date:   Fri May 9 15:37:21 2025 -0500

    Update session max TTL  (#3110)

    @jyu00 noticed that when I updated the batch max TTL, I needed to also
    update the session max TTL.

    ---------

    Co-authored-by: Jessie Yu <[email protected]>

commit ae60a0c
Author: Arnau Casau <[email protected]>
Date:   Fri May 9 19:14:03 2025 +0200

    Generate Qiskit 1.4.3 (#3111)

    This PR generates the docs for qiskit 1.4.3 (historical)

    ```
    npm run gen-api -- -p qiskit -v 1.4.3 --historical
    ```

commit 479402a
Author: Frank Harkins <[email protected]>
Date:   Fri May 9 17:37:42 2025 +0100

    Extract notebook image outputs (#3109)

    Follow up to #3095. This PR actually extracts the images and adds the
    script to `./check`, `./fix`, and CI.

commit fd899ad
Author: abbycross <[email protected]>
Date:   Fri May 9 12:02:53 2025 -0400

    New Platform updates for Latest Updates pg (#3102)

    Co-authored-by: Eric Arellano <[email protected]>

commit 81fff3e
Author: Frank Harkins <[email protected]>
Date:   Fri May 9 15:42:41 2025 +0100

    Add script to extract notebook image outputs (#3095)

    This PR adds a script to extract image outputs from notebooks and
    convert them to AVIF if necessary. We're already doing this in
    inner-source as part of the sync but it was taking too long with the new
    tutorial notebooks. This PR just introduces the script, a follow-up PR
    will extract the images and add this to `./fix`.

    ---------

    Co-authored-by: Rebecca Dimock <[email protected]>
    Co-authored-by: Eric Arellano <[email protected]>

commit 39201f7
Author: Frank Harkins <[email protected]>
Date:   Fri May 9 10:05:32 2025 +0100

    Relativize documentation links in tutorials (#3101)

    Fixes #3097.

    Some of these links are quite old, so I made a request for each URL and
    recorded the redirect. I then replaced `https://docs.quantum.ibm.com` ->
    `/docs` in the redirect, then replaced the original URLs with these
    paths.

commit e987606
Author: abbycross <[email protected]>
Date:   Thu May 8 14:07:20 2025 -0400

    Local estimation (before submitting job) (#3092)

    Closes #2783.

    Note that this PR re-institutes the Workload usage page in the toc,
    which recently was marked for the Classic platform only.

    ---------

    Co-authored-by: Jessie Yu <[email protected]>

commit 95bb10e
Author: abbycross <[email protected]>
Date:   Thu May 8 13:54:11 2025 -0400

    Remove duplicate step 1 in Grovers tutorial (#3104)

    Closes #3096

    Also spotted a `quantum-computing` URL and updated it to `quantum`

commit 5c6a64e
Author: abbycross <[email protected]>
Date:   Thu May 8 13:53:52 2025 -0400

    Update c-extension-for-python.mdx (#3103)

    Closes #3066.

commit 5b1c2bc
Author: Christopher Porter <[email protected]>
Date:   Thu May 8 13:02:17 2025 -0400

    Copy QML notebooks

commit 57306b6
Author: Sanket Panda <[email protected]>
Date:   Thu May 8 12:29:49 2025 -0400

    serverless: add information about detailed statuses (#3068)

    Qiskit Serverless allows users to [set custom
    statuses](Qiskit/qiskit-serverless#1615) soon.
    This documentation outlines how to set these statuses and return an
    execution summary easily

    ---------

    Co-authored-by: ABBY CROSS <[email protected]>
    Co-authored-by: Kaelyn Ferris <[email protected]>

commit cb0c07a
Author: Jessie Yu <[email protected]>
Date:   Thu May 8 12:07:46 2025 -0400

    Minor fixes to the timing pages (#3069)

    Some minor fixes to the pages on timing, including

    - Use the same wording to describe quantum time
    - Change `QPU-calculated max execution time` to `service-calculated`,
    since QPU is just hardware
    - Fix hyperlink text to match the new topic names
    - Add wording on minimizing run time for estimator jobs

    ---------

    Co-authored-by: abbycross <[email protected]>

commit 2aeb5ad
Author: Kaelyn Ferris <[email protected]>
Date:   Thu May 8 10:16:45 2025 -0400

    Add admonition about pyscf in SQD guide (#3086)

    Closes #2596

    ---------

    Co-authored-by: abbycross <[email protected]>

commit f03f973
Author: Frank Harkins <[email protected]>
Date:   Thu May 8 12:42:18 2025 +0100

    Migrate "Quantum computing in practice" course (#3078)

    Migrates the [Quantum computing in
    practice](https://learning.quantum.ibm.com/course/quantum-computing-in-practice)
    course from the learning platform.

    [Preview
    link](https://qiskit.github.io/documentation/pr-3078/learning/courses/quantum-computing-in-practice/)

commit 14ea3d0
Author: abbycross <[email protected]>
Date:   Wed May 7 10:04:58 2025 -0400

    method get_job_by_id() missing in Qiskit Function Intro (#2629)

    Closes #2627 which was opened by @johannesgreiner. Johannes, can you
    provide more info on the fix please?

    ---------

    Co-authored-by: Johannes Greiner <[email protected]>
    Co-authored-by: Eric Arellano <[email protected]>

commit 7bdb091
Author: Frank Harkins <[email protected]>
Date:   Tue May 6 18:01:46 2025 +0100

    Fix stale images check and remove unused images (#3088)

    These images were accidentally included during the tutorials migration.

commit cf1a1fe
Author: Rebecca Dimock <[email protected]>
Date:   Tue May 6 10:08:12 2025 -0500

    Update max ttl defaults (#3089)

    closes #2996

commit 88781bf
Author: Jim Garrison <[email protected]>
Date:   Mon May 5 23:20:51 2025 -0400

    AQC = approximate quantum compilation (#3087)

    This updates it so AQC consistently is expanded as "approximate quantum
    compilation"

    This content was originally added in #2291.

commit 821e9ad
Author: Eric Arellano <[email protected]>
Date:   Mon May 5 16:27:43 2025 -0400

    Document how to ignore gh-pages branch (#3080)

    Running `git fetch` is very slow in this repository because of the
    `gh-pages` branch, even though you never use that locally.
    https://stackoverflow.com/a/64439191 says how to ignore the branch.

commit e022157
Author: Arnau Casau <[email protected]>
Date:   Mon May 5 21:51:21 2025 +0200

    Update docker digest from start script (#3083)

    This PR updates the image digest from the `start` script. The new image
    allows the user to override the dividers from the TOC.

commit 4154a11
Author: Rebecca Dimock <[email protected]>
Date:   Mon May 5 14:49:26 2025 -0500

    Fix broken links in instances guide (#3085)

    closes #3049
Eric-Arellano added a commit that referenced this issue May 13, 2025
commit 539d82097ac378a26892f7ecb4586d2df4ab12c3
Author: Eric Arellano <[email protected]>
Date:   Tue May 13 15:55:00 2025 -0400

    Rename part 2

commit 9c2c424a8b80856b295ce5c0091c38985ce7f2ba
Author: Eric Arellano <[email protected]>
Date:   Tue May 13 15:54:36 2025 -0400

    Rename part 1

commit 765a73c
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:29:49 2025 -0400

    Added a course introduction

commit 84eff50
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:14:11 2025 -0400

    Removed hyphen from my own handle in qiskit_bot.yaml

commit 526e092
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:05:29 2025 -0400

    Removed hyphen from my own handle in qiskit_bot.yaml

commit ed35726
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 15:01:14 2025 -0400

    Fixed sp errors and added words to ignore to each file

commit ce8e441
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:54:14 2025 -0400

    Fixed sp errors and added words to ignore to each file

commit e2b0540
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:45:48 2025 -0400

    Fixed sp errors and added words to ignore to each file

commit bab8bb5
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:18:53 2025 -0400

    Fixed sp errors and added words to ignore to QVCs QNNs

commit ac04ccc
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 14:15:23 2025 -0400

    Fixed sp errors and added words to ignore to QVCs QNNs

commit c75b963
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:52:07 2025 -0400

    Added QVC and QNN to dictionary

commit b23d30e
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:17:35 2025 -0400

    Fixed description and title in kernel methods

commit 50810c7
Merge: 29cdc84 6426ce4
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:09:05 2025 -0400

    Merge branch 'CP/QML' of https://github.com/Qiskit/documentation into CP/QML

commit 29cdc84
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 12:08:33 2025 -0400

    Edited description and title of each notebook in QML

commit 6426ce4
Merge: d834a24 9b4e192
Author: christopherporter1 <[email protected]>
Date:   Tue May 13 11:55:10 2025 -0400

    Merge branch 'main' into CP/QML

commit 9b4e192
Author: Kaelyn Ferris <[email protected]>
Date:   Tue May 13 11:39:07 2025 -0400

    Update testing env to include `PendingDeprecation` warnings (#3114)

    Closes #2716

    According to the official python docs, `PendingDeprecation` warnings are
    [ignored by
    default](https://docs.python.org/3/library/exceptions.html#PendingDeprecationWarning)
    unless [Python Development
    Mode](https://docs.python.org/3/library/devmode.html) is enabled (done
    either through the `-Xdev` or `-Wd` flags when invoking `python` or by
    setting the environment variable `PYTHONDEVMODE=1`).

    This PR sets the `tox` environment to run using dev mode with the
    `PYTHONDEVMODE` env var.

commit d834a24
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 10:41:29 2025 -0400

    replaced Frank's addition of Prac QC to index, qiskit_bot, and notebook checker

commit 1c9860d
Author: Christopher Porter <[email protected]>
Date:   Tue May 13 09:18:04 2025 -0400

    replaced python with python3 in start, check, fix

commit 42ec9e4
Author: Emil Kovacev <[email protected]>
Date:   Tue May 13 06:55:25 2025 -0400

    Adds additional tutorials requirements for nb-tester (#3093)

    Closes #3071

commit a942952
Author: abbycross <[email protected]>
Date:   Mon May 12 14:04:37 2025 -0400

    Specify rolling plan is for Premium only (#3113)

    Mention on fair-share-scheduler page that the 28-day rolling window only
    applies to Premium, not Flex Plan.

commit 476035b
Author: Christopher Porter <[email protected]>
Date:   Mon May 12 13:09:35 2025 -0400

    Added course to index

commit acfd586
Author: Christopher Porter <[email protected]>
Date:   Mon May 12 11:47:28 2025 -0400

    Update notebook-testing.toml

commit 7cd57d7
Author: Rebecca Dimock <[email protected]>
Date:   Fri May 9 15:37:21 2025 -0500

    Update session max TTL  (#3110)

    @jyu00 noticed that when I updated the batch max TTL, I needed to also
    update the session max TTL.

    ---------

    Co-authored-by: Jessie Yu <[email protected]>

commit ae60a0c
Author: Arnau Casau <[email protected]>
Date:   Fri May 9 19:14:03 2025 +0200

    Generate Qiskit 1.4.3 (#3111)

    This PR generates the docs for qiskit 1.4.3 (historical)

    ```
    npm run gen-api -- -p qiskit -v 1.4.3 --historical
    ```

commit 479402a
Author: Frank Harkins <[email protected]>
Date:   Fri May 9 17:37:42 2025 +0100

    Extract notebook image outputs (#3109)

    Follow up to #3095. This PR actually extracts the images and adds the
    script to `./check`, `./fix`, and CI.

commit fd899ad
Author: abbycross <[email protected]>
Date:   Fri May 9 12:02:53 2025 -0400

    New Platform updates for Latest Updates pg (#3102)

    Co-authored-by: Eric Arellano <[email protected]>

commit 81fff3e
Author: Frank Harkins <[email protected]>
Date:   Fri May 9 15:42:41 2025 +0100

    Add script to extract notebook image outputs (#3095)

    This PR adds a script to extract image outputs from notebooks and
    convert them to AVIF if necessary. We're already doing this in
    inner-source as part of the sync but it was taking too long with the new
    tutorial notebooks. This PR just introduces the script, a follow-up PR
    will extract the images and add this to `./fix`.

    ---------

    Co-authored-by: Rebecca Dimock <[email protected]>
    Co-authored-by: Eric Arellano <[email protected]>

commit 39201f7
Author: Frank Harkins <[email protected]>
Date:   Fri May 9 10:05:32 2025 +0100

    Relativize documentation links in tutorials (#3101)

    Fixes #3097.

    Some of these links are quite old, so I made a request for each URL and
    recorded the redirect. I then replaced `https://docs.quantum.ibm.com` ->
    `/docs` in the redirect, then replaced the original URLs with these
    paths.

commit e987606
Author: abbycross <[email protected]>
Date:   Thu May 8 14:07:20 2025 -0400

    Local estimation (before submitting job) (#3092)

    Closes #2783.

    Note that this PR re-institutes the Workload usage page in the toc,
    which recently was marked for the Classic platform only.

    ---------

    Co-authored-by: Jessie Yu <[email protected]>

commit 95bb10e
Author: abbycross <[email protected]>
Date:   Thu May 8 13:54:11 2025 -0400

    Remove duplicate step 1 in Grovers tutorial (#3104)

    Closes #3096

    Also spotted a `quantum-computing` URL and updated it to `quantum`

commit 5c6a64e
Author: abbycross <[email protected]>
Date:   Thu May 8 13:53:52 2025 -0400

    Update c-extension-for-python.mdx (#3103)

    Closes #3066.

commit 5b1c2bc
Author: Christopher Porter <[email protected]>
Date:   Thu May 8 13:02:17 2025 -0400

    Copy QML notebooks

commit 57306b6
Author: Sanket Panda <[email protected]>
Date:   Thu May 8 12:29:49 2025 -0400

    serverless: add information about detailed statuses (#3068)

    Qiskit Serverless allows users to [set custom
    statuses](Qiskit/qiskit-serverless#1615) soon.
    This documentation outlines how to set these statuses and return an
    execution summary easily

    ---------

    Co-authored-by: ABBY CROSS <[email protected]>
    Co-authored-by: Kaelyn Ferris <[email protected]>

commit cb0c07a
Author: Jessie Yu <[email protected]>
Date:   Thu May 8 12:07:46 2025 -0400

    Minor fixes to the timing pages (#3069)

    Some minor fixes to the pages on timing, including

    - Use the same wording to describe quantum time
    - Change `QPU-calculated max execution time` to `service-calculated`,
    since QPU is just hardware
    - Fix hyperlink text to match the new topic names
    - Add wording on minimizing run time for estimator jobs

    ---------

    Co-authored-by: abbycross <[email protected]>

commit 2aeb5ad
Author: Kaelyn Ferris <[email protected]>
Date:   Thu May 8 10:16:45 2025 -0400

    Add admonition about pyscf in SQD guide (#3086)

    Closes #2596

    ---------

    Co-authored-by: abbycross <[email protected]>

commit f03f973
Author: Frank Harkins <[email protected]>
Date:   Thu May 8 12:42:18 2025 +0100

    Migrate "Quantum computing in practice" course (#3078)

    Migrates the [Quantum computing in
    practice](https://learning.quantum.ibm.com/course/quantum-computing-in-practice)
    course from the learning platform.

    [Preview
    link](https://qiskit.github.io/documentation/pr-3078/learning/courses/quantum-computing-in-practice/)

commit 14ea3d0
Author: abbycross <[email protected]>
Date:   Wed May 7 10:04:58 2025 -0400

    method get_job_by_id() missing in Qiskit Function Intro (#2629)

    Closes #2627 which was opened by @johannesgreiner. Johannes, can you
    provide more info on the fix please?

    ---------

    Co-authored-by: Johannes Greiner <[email protected]>
    Co-authored-by: Eric Arellano <[email protected]>

commit 7bdb091
Author: Frank Harkins <[email protected]>
Date:   Tue May 6 18:01:46 2025 +0100

    Fix stale images check and remove unused images (#3088)

    These images were accidentally included during the tutorials migration.

commit cf1a1fe
Author: Rebecca Dimock <[email protected]>
Date:   Tue May 6 10:08:12 2025 -0500

    Update max ttl defaults (#3089)

    closes #2996

commit 88781bf
Author: Jim Garrison <[email protected]>
Date:   Mon May 5 23:20:51 2025 -0400

    AQC = approximate quantum compilation (#3087)

    This updates it so AQC consistently is expanded as "approximate quantum
    compilation"

    This content was originally added in #2291.

commit 821e9ad
Author: Eric Arellano <[email protected]>
Date:   Mon May 5 16:27:43 2025 -0400

    Document how to ignore gh-pages branch (#3080)

    Running `git fetch` is very slow in this repository because of the
    `gh-pages` branch, even though you never use that locally.
    https://stackoverflow.com/a/64439191 says how to ignore the branch.

commit e022157
Author: Arnau Casau <[email protected]>
Date:   Mon May 5 21:51:21 2025 +0200

    Update docker digest from start script (#3083)

    This PR updates the image digest from the `start` script. The new image
    allows the user to override the dividers from the TOC.

commit 4154a11
Author: Rebecca Dimock <[email protected]>
Date:   Mon May 5 14:49:26 2025 -0500

    Fix broken links in instances guide (#3085)

    closes #3049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants