Skip to content

Commit

Permalink
fix: Fixing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed May 31, 2024
1 parent dfbad7f commit 01c99e8
Show file tree
Hide file tree
Showing 10 changed files with 224 additions and 351 deletions.
11 changes: 4 additions & 7 deletions doc/source/code-examples/applications-by-algorithm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,11 @@ Diagonalization Algorithms

tutorials/dbi/README.md

.. tutorials/dbi/dbi_tutorial_basic_intro.ipynb

tutorials/dbi/dbi_scheduling.ipynb
tutorials/dbi/dbi_cost_functions_and_d_gradients_tutorial.ipynb
tutorials/dbi/dbi_cost_functions.ipynb
tutorials/dbi/dbi_gradient_descent_strategies.ipynb
tutorials/dbi/dbi_group_commutator_tests.ipynb

.. tutorials/dbi/dbi_gdbi_strategies_compare.ipynb

tutorials/dbi/dbi_scheduling.ipynb
tutorials/dbi/dbi_strategies_compare.ipynb
tutorials/dbi/dbi_strategy_Ising_model.ipynb
tutorials/dbi/dbi_strategy_Pauli-Z.ipynb
tutorials/dbi/dbi_tutorial_basic_intro.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion double_bracket_flow_as_a_diagonalization_quantum_algorithm
Submodule double_bracket_flow_as_a_diagonalization_quantum_algorithm deleted from 808dd6
225 changes: 24 additions & 201 deletions examples/dbi/dbi_cost_functions.ipynb

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions examples/dbi/dbi_strategies_compare.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
"This notebook is a comparison of the so-far developed diagonalization strategies for DBI, including the canonical, Pauli-Z, and magnetic field strategies. On top of these, we also show case the use of invariant DBI generators such as 'BHMM'."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -449,6 +444,13 @@
"plt.ylabel(r'$|| \\sigma(e^{sW}He^{-sW}) || $')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
6 changes: 3 additions & 3 deletions examples/dbi/dbi_tutorial_basic_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"metadata": {},
"outputs": [],
"source": [
"!python -m pip install seaborn # plotting library\n",
"!python -m pip install hyperopt # required to optimize the DBF step"
"# uncomment this line if seaborn is not installed\n",
"# !python -m pip install seaborn # plotting library"
]
},
{
Expand Down Expand Up @@ -553,7 +553,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.7"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
317 changes: 184 additions & 133 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ sphinx-markdown-tables = "^0.0.17"
sphinx-copybutton = "^0.5.2"
nbsphinx = "^0.8.12"
ipython = "^8.10.0"
seaborn = "^0.13.2"

[tool.poetry.group.tests]
optional = true
Expand Down

0 comments on commit 01c99e8

Please sign in to comment.