Skip to content

Commit

Permalink
Add Migration Guide for qiskit.algorithms (Qiskit#9557)
Browse files Browse the repository at this point in the history
* Add draft

* Remove qiskit

* Apply review

* Add algos guide

* Add skeleton

* Add content

* Fix sampling VQE example

* Apply suggestions from Steve's code review

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>

* Apply review, update code examples up to Eigensolvers

* Add doctest to sphinx config

* Add tests up to eigensolvers

* Review code examples from Eigensolvers

* Update heading style

* Apply suggestions from Declan's code review

Co-authored-by: Declan Millar <declan.millar@ibm.com>

* Apply suggestions from Steve's code review

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>

* Apply review

* Final changes, fix docs

* Apply Julien's comments

---------

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
Co-authored-by: Declan Millar <declan.millar@ibm.com>
  • Loading branch information
3 people authored and giacomoRanieri committed Apr 16, 2023
1 parent 6a72617 commit cf1b48a
Show file tree
Hide file tree
Showing 4 changed files with 964 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

# -- General configuration ---------------------------------------------------
import datetime
import doctest

project = "Qiskit"
copyright = f"2017-{datetime.date.today().year}, Qiskit Development Team" # pylint: disable=redefined-builtin
Expand All @@ -37,7 +38,9 @@
"reno.sphinxext",
"sphinx_design",
"matplotlib.sphinxext.plot_directive",
"sphinx.ext.doctest"
]

templates_path = ["_templates"]

# Number figures, tables and code-blocks if they have a caption.
Expand All @@ -62,6 +65,7 @@

intersphinx_mapping = {
"retworkx": ("https://qiskit.org/documentation/retworkx/", None),
"qiskit_ibm_runtime": ("https://qiskit.org/documentation/partners/qiskit_ibm_runtime/", None)
}

# -- Options for HTML output -------------------------------------------------
Expand Down Expand Up @@ -108,3 +112,7 @@
}

autoclass_content = "both"

# -- Options for doctest -------------------------------------

doctest_default_flags = doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE | doctest.IGNORE_EXCEPTION_DETAIL | doctest.DONT_ACCEPT_TRUE_FOR_1
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Qiskit Terra documentation

API References <apidocs/terra>
Release Notes <release_notes>

Migration Guides <migration_guides/index>

.. Hiding - Indices and tables
:ref:`genindex`
:ref:`modindex`
Expand Down
Loading

0 comments on commit cf1b48a

Please sign in to comment.