Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

Commit 7479282

Browse files
authored
fix toc (#1565)
1 parent 3879b2c commit 7479282

File tree

1 file changed

+14
-30
lines changed

1 file changed

+14
-30
lines changed

docs/tutorials/Qiskit Algorithms Migration Guide.ipynb

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,7 @@
3737
"cell_type": "markdown",
3838
"metadata": {},
3939
"source": [
40-
"This notebook serves as migration guide to facilitate changing your current code using Qiskit Aqua to the new structure.\n",
41-
"\n",
42-
"## Contents\n",
43-
"\n",
44-
"1. [Quantum Instance](#qi)\n",
45-
"1. [Operators](#h)\n",
46-
"1. [Optimizers](#opt)\n",
47-
"1. [Grover](#grover)\n",
48-
"1. [Amplitude estimation](#ae)\n",
49-
"1. [Minimum eigenvalues](#mes)\n",
50-
" 1. [NumPy minimum eigensolver](#npmes)\n",
51-
" 1. [VQE](#vqe)\n",
52-
" 1. [QAOA](#qaoa) \n",
53-
"1. [(General) Eigenvalues](#es)\n",
54-
"1. [Shor](#shor)\n",
55-
"1. [HHL](#hhl)\n",
56-
"1. [Phase Estimation](#pe)"
40+
"This notebook serves as migration guide to facilitate changing your current code using Qiskit Aqua to the new structure.\n"
5741
]
5842
},
5943
{
@@ -97,7 +81,7 @@
9781
"cell_type": "markdown",
9882
"metadata": {},
9983
"source": [
100-
"# QuantumInstance<a id='qi' href='#'></a>\n",
84+
"# QuantumInstance\n",
10185
"\n",
10286
"The `QuantumInstance` moved the import location from\n",
10387
"```\n",
@@ -157,7 +141,7 @@
157141
"cell_type": "markdown",
158142
"metadata": {},
159143
"source": [
160-
"# Operators<a id='h' href='#'></a>\n",
144+
"# Operators\n",
161145
"\n",
162146
"The Opflow operators moved from\n",
163147
"```\n",
@@ -239,7 +223,7 @@
239223
"cell_type": "markdown",
240224
"metadata": {},
241225
"source": [
242-
"# Optimizers<a id='op' href='#'></a>\n",
226+
"# Optimizers\n",
243227
"\n",
244228
"The classical optimization routines changed locations from\n",
245229
"```\n",
@@ -295,7 +279,7 @@
295279
}
296280
},
297281
"source": [
298-
"# Grover<a href='#' id='grover'></a>\n",
282+
"# Grover\n",
299283
"\n",
300284
"## Summary\n",
301285
"\n",
@@ -513,7 +497,7 @@
513497
}
514498
},
515499
"source": [
516-
"# Amplitude estimation<a href='#' id='ae'></a>\n",
500+
"# Amplitude estimation\n",
517501
"\n",
518502
"## Summary\n",
519503
"\n",
@@ -758,7 +742,7 @@
758742
}
759743
},
760744
"source": [
761-
"# Minimum eigenvalues<a href='#' id='mes'></a>\n",
745+
"# Minimum eigenvalues\n",
762746
"\n",
763747
"## Summary\n",
764748
"\n",
@@ -788,7 +772,7 @@
788772
"cell_type": "markdown",
789773
"metadata": {},
790774
"source": [
791-
"### NumPy-based eigensolver<a id='npmes' href='#'></a>\n",
775+
"### NumPy-based eigensolver\n",
792776
"\n",
793777
"**Previously:**\n",
794778
"\n",
@@ -910,7 +894,7 @@
910894
}
911895
},
912896
"source": [
913-
"### VQE<a id='vqe' href='#'></a>\n",
897+
"### VQE\n",
914898
"\n",
915899
"The same changes hold for VQE. Let's use the `RealAmplitudes` circuit as ansatz:"
916900
]
@@ -1094,7 +1078,7 @@
10941078
}
10951079
},
10961080
"source": [
1097-
"### QAOA<a id='qaoa' href='#'></a>\n",
1081+
"### QAOA\n",
10981082
"\n",
10991083
"For Hamiltonians from combinatorial optimization (like ours: $Z \\otimes I$) we can use the QAOA algorithm."
11001084
]
@@ -1282,7 +1266,7 @@
12821266
}
12831267
},
12841268
"source": [
1285-
"# (General) Eigenvalues <a href='#' id='es'></a>\n",
1269+
"# (General) Eigenvalues\n",
12861270
"\n",
12871271
"## Summary\n",
12881272
"\n",
@@ -1368,7 +1352,7 @@
13681352
}
13691353
},
13701354
"source": [
1371-
"# Shor's algorithm<a href='#' id='shor'></a>\n",
1355+
"# Shor's algorithm\n",
13721356
"\n",
13731357
"## Summary\n",
13741358
"\n",
@@ -1464,7 +1448,7 @@
14641448
}
14651449
},
14661450
"source": [
1467-
"# HHL<a href='#' id='hhl'></a>\n",
1451+
"# HHL\n",
14681452
"\n",
14691453
"## Summary\n",
14701454
"\n",
@@ -1667,7 +1651,7 @@
16671651
"cell_type": "markdown",
16681652
"metadata": {},
16691653
"source": [
1670-
"# Phase estimation<a href='#' id='pe'></a>\n",
1654+
"# Phase estimation\n",
16711655
"\n",
16721656
"## Summary\n",
16731657
"\n",

0 commit comments

Comments
 (0)