Skip to content

Commit c20356b

Browse files
authored
Move qiskit-tutorials into this repository (#10710)
https://github.com/Qiskit/qiskit-tutorials has been archived because the docs are now built in this repository and we want to simplify our docs infrastructure. This PR merges the qiskit-tutorials repository here for the relevant tutorials, preserving its Git history. It uses `git-filter-repo` to tweak the Git history of `qiskit-tutorials` to be consumable in this repository, such as changing of `tutorials/` to be `docs/tutorials`. It also prunes irrelevant commits since we only copy over the tutorials that are currently in use and we ignore files like README.md that aren't copied over. See [tutorials_migration.zip](https://github.com/Qiskit/qiskit/files/12442282/tutorials_migration.zip) for how the migration was generated; credit to @jakelishman for the original script used in #10611. Then, I used `git merge --allow-unrelated-histories qiskit-tutorials/master`, with the remote `qiskit-tutorials` pointed at the prepared local repository. The merge was clean. This PR adds two commits on tip: * Removes the `prepare_tutorials.bash` script and placeholder tutorials that were used to download the tutorials from `qiskit-tutorials` dynamically. No need now that they live in the same repository. * Updates the tutorials with the most recently executed versions from CI.
2 parents 031c0a2 + 6c6e4b2 commit c20356b

22 files changed

Lines changed: 23791 additions & 172 deletions

.azure/tutorials-linux.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
- bash: tools/install_ubuntu_docs_dependencies.sh
2020
displayName: 'Install dependencies'
2121

22-
# Sync with '.github/workflows/docs_deploy.yml'
23-
- bash: tools/prepare_tutorials.bash circuits circuits_advanced operators
24-
displayName: 'Download current tutorials'
25-
2622
- bash: tox -e tutorials
2723
displayName: "Execute tutorials"
2824
env:

.github/workflows/docs_deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ jobs:
5353
- name: Install dependencies
5454
run: tools/install_ubuntu_docs_dependencies.sh
5555

56-
# Sync with '.azure/tutorials-linux.yml'.
57-
- name: Download current tutorials
58-
run: tools/prepare_tutorials.bash circuits circuits_advanced operators
59-
shell: bash
60-
6156
# This is just to have tox create the environment, so we can use it to execute the tutorials.
6257
# We want to re-use it later for the build, hence 'tox run --notest' instead of 'tox devenv'.
6358
- name: Prepare Python environment

docs/tutorials/circuits/01_circuit_basics.ipynb

Lines changed: 824 additions & 0 deletions
Large diffs are not rendered by default.

docs/tutorials/circuits/1_getting_started_with_qiskit.ipynb

Lines changed: 872 additions & 0 deletions
Large diffs are not rendered by default.

docs/tutorials/circuits/2_plotting_data_in_qiskit.ipynb

Lines changed: 985 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)