Skip to content
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

Remove tutorials #1599

Merged
merged 4 commits into from
Apr 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ mypy:
mypy --module qiskit_ibm_runtime --package test

style:
black --check qiskit_ibm_runtime setup.py test docs/tutorials
black --check qiskit_ibm_runtime setup.py test

unit-test:
python -m unittest discover --verbose --top-level-directory . --start-directory test/unit
@@ -40,4 +40,4 @@ unit-test-coverage:
coverage lcov

black:
black qiskit_ibm_runtime setup.py test docs/tutorials
black qiskit_ibm_runtime setup.py test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -359,4 +359,4 @@ use the `Qiskit` tag in [Stack Exchange].
[many people]: https://github.com/Qiskit/qiskit-ibm-runtime/graphs/contributors
[BibTeX file]: https://github.com/Qiskit/qiskit/blob/master/Qiskit.bib
[Apache License 2.0]: https://github.com/Qiskit/qiskit-ibm-runtime/blob/main/LICENSE.txt
[tutorials]: https://github.com/Qiskit/qiskit-ibm-runtime/tree/main/docs/tutorials
[tutorials]: https://learning.quantum.ibm.com/catalog/tutorials
30 changes: 0 additions & 30 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -6,36 +6,6 @@ Qiskit Runtime docs live at docs.quantum.ibm.com and come from https://github.co
This site is only used to generate our API docs, which then get migrated to
https://github.com/Qiskit/documentation.

The tutorials are also pulled into learning.quantum.ibm.com.

Next steps
=================================

`Tutorials <tutorials.html>`_

.. toctree::
:maxdepth: 1
:hidden:
:caption: Get started

Overview <self>

.. toctree::
:maxdepth: 1
:hidden:
:caption: Tutorials

Get started with Estimator <tutorials/how-to-getting-started-with-estimator>
Get started with Sampler <tutorials/how-to-getting-started-with-sampler>
Get started with error suppression and error mitigation <tutorials/Error-Suppression-and-Error-Mitigation>
CHSH with Estimator <tutorials/chsh_inequality/chsh_with_estimator>
VQE with Estimator <tutorials/variational_quantum_eigensolver/vqe_with_estimator>
Grover with Sampler <tutorials/grovers_algorithm/grover_with_sampler>
QAOA with Primitives <tutorials/quantum_approximate_optimization_algorithm/qaoa_with_primitives>
Submit user-transpiled circuits using primitives <tutorials/submitting_transpiled_circuits/user-transpiled-circuits>
All tutorials <tutorials>


.. toctree::
:maxdepth: 1
:hidden:
31 changes: 0 additions & 31 deletions docs/tutorials.rst

This file was deleted.

1,997 changes: 0 additions & 1,997 deletions docs/tutorials/Error-Suppression-and-Error-Mitigation.ipynb

This file was deleted.

514 changes: 0 additions & 514 deletions docs/tutorials/chsh_inequality/chsh_with_estimator.ipynb

This file was deleted.

441 changes: 0 additions & 441 deletions docs/tutorials/grovers_algorithm/grover_with_sampler.ipynb

This file was deleted.

1,463 changes: 0 additions & 1,463 deletions docs/tutorials/how-to-getting-started-with-estimator.ipynb

This file was deleted.

1,395 changes: 0 additions & 1,395 deletions docs/tutorials/how-to-getting-started-with-sampler.ipynb

This file was deleted.

Binary file removed docs/tutorials/images/100x100.png
Binary file not shown.
Binary file removed docs/tutorials/images/analog_vs_digital.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/tutorials/images/bias_variance_trade_off.png
Binary file not shown.
Binary file removed docs/tutorials/images/chip.png
Binary file not shown.
Binary file removed docs/tutorials/images/estimator.png
Binary file not shown.
Binary file removed docs/tutorials/images/global_vs_local.png
Binary file not shown.
Binary file removed docs/tutorials/images/options.png
Binary file not shown.
Binary file removed docs/tutorials/images/path_to_quantum_advantage.png
Binary file not shown.
Binary file removed docs/tutorials/images/pec_curve_fitting.png
Binary file not shown.
Binary file removed docs/tutorials/images/pec_layers.png
Binary file not shown.
Binary file removed docs/tutorials/images/pec_learn_layer.png
Binary file not shown.
Binary file removed docs/tutorials/images/pec_multiple_axes.png
Binary file not shown.
Binary file removed docs/tutorials/images/pec_pauli_twirling.png
Binary file not shown.
Binary file removed docs/tutorials/images/plot_combined.png
Binary file not shown.
Binary file removed docs/tutorials/images/plot_dd.png
Binary file not shown.
Binary file removed docs/tutorials/images/plot_pec.png
Binary file not shown.
Binary file removed docs/tutorials/images/plot_trex.png
Binary file not shown.
Binary file removed docs/tutorials/images/plot_zne.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/tutorials/images/subgraphs.png
Binary file not shown.
Binary file removed docs/tutorials/images/surface_code_resources.png
Binary file not shown.
Binary file removed docs/tutorials/images/trex_data_collection.png
Binary file not shown.
Binary file removed docs/tutorials/images/unuseful_extrapolation.png
Binary file not shown.
Binary file removed docs/tutorials/images/useful_extrapolation.png
Binary file not shown.
Binary file removed docs/tutorials/images/zne_stages.png
Diff not rendered.
15 changes: 0 additions & 15 deletions docs/tutorials/learning-api.conf.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 5 additions & 3 deletions test/docs/vale.sh
Original file line number Diff line number Diff line change
@@ -6,11 +6,13 @@ cd ./docs

vale . || EXIT_CODE=$?

echo
echo "Linting notebooks using nbQA:"

notebooks=$(find . -name "*.ipynb" -not -name "*checkpoint*" -not -path "./_**")

python -m nbqa vale ${notebooks} --nbqa-shell --nbqa-md || EXIT_CODE=$?
if [ -n "$notebooks" ]; then
echo
echo "Linting notebooks using nbQA:"
python -m nbqa vale ${notebooks} --nbqa-shell --nbqa-md || EXIT_CODE=$?
fi

exit $EXIT_CODE
91 changes: 0 additions & 91 deletions test/e2e/test_tutorials.py

This file was deleted.