From 47688a1c864f8c57336bc633e9be865b54b11109 Mon Sep 17 00:00:00 2001 From: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:17:18 -0400 Subject: [PATCH] Fix some missing footnotes (#2004) Part of https://github.com/Qiskit/documentation/issues/1955. In older versions of Sphinx, footnotes looked like this: ```html
1
``` This PR also adds ignores for 0.45 so that it's green. We don't plan to fix those issues, which are only broken anchor links. --- .../qiskit.aqua.components.optimizers.NFT.mdx | 2 ++ .../qiskit.aqua.components.optimizers.NFT.mdx | 4 ++++ .../0.25/qiskit.algorithms.optimizers.NFT.mdx | 4 ++++ .../qiskit.aqua.components.optimizers.NFT.mdx | 4 ++++ .../0.26/qiskit.algorithms.optimizers.NFT.mdx | 4 ++++ .../qiskit.aqua.components.optimizers.NFT.mdx | 4 ++++ .../0.27/qiskit.algorithms.optimizers.NFT.mdx | 4 ++++ .../qiskit.aqua.components.optimizers.NFT.mdx | 4 ++++ .../0.28/qiskit.algorithms.optimizers.NFT.mdx | 4 ++++ .../qiskit.aqua.components.optimizers.NFT.mdx | 4 ++++ docs/api/qiskit/0.28/qpy.mdx | 6 ++++++ .../0.29/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ .../qiskit.aqua.components.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.29/qpy.mdx | 6 ++++++ .../0.30/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ .../qiskit.aqua.components.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.30/qpy.mdx | 6 ++++++ .../0.31/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ .../qiskit.aqua.components.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.31/qpy.mdx | 6 ++++++ .../0.32/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ .../qiskit.aqua.components.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.32/qpy.mdx | 6 ++++++ .../0.33/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.33/qpy.mdx | 6 ++++++ .../0.35/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.35/qpy.mdx | 6 ++++++ .../0.36/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.36/qpy.mdx | 6 ++++++ .../0.37/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.37/qpy.mdx | 6 ++++++ .../0.38/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.38/qpy.mdx | 6 ++++++ .../0.39/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.39/qpy.mdx | 6 ++++++ .../0.40/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.40/qpy.mdx | 6 ++++++ .../0.41/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.41/qpy.mdx | 6 ++++++ .../0.42/qiskit.algorithms.optimizers.NFT.mdx | 2 ++ docs/api/qiskit/0.42/qpy.mdx | 6 ++++++ scripts/js/commands/checkInternalLinks.ts | 6 +++--- scripts/js/lib/api/processHtml.ts | 2 +- scripts/js/lib/links/ignores.ts | 20 +++++++++++++++---- 44 files changed, 176 insertions(+), 8 deletions(-) diff --git a/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.NFT.mdx index a018c57a17a..087f21ecb55 100644 --- a/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.19/qiskit.aqua.components.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.NFT.mdx index 41c076b6ebf..8f63cd7c9f3 100644 --- a/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.24/qiskit.aqua.components.optimizers.NFT.mdx @@ -30,6 +30,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -52,6 +54,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.NFT.mdx index 1a885dae5ca..0c486de622d 100644 --- a/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.25/qiskit.algorithms.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.NFT.mdx index 2ae95ddf71f..edefdc7db12 100644 --- a/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.25/qiskit.aqua.components.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.NFT.mdx index 1a885dae5ca..0c486de622d 100644 --- a/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.26/qiskit.algorithms.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.NFT.mdx index 2ae95ddf71f..edefdc7db12 100644 --- a/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.26/qiskit.aqua.components.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.NFT.mdx index 1a885dae5ca..0c486de622d 100644 --- a/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.27/qiskit.algorithms.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.NFT.mdx index 2ae95ddf71f..edefdc7db12 100644 --- a/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.27/qiskit.aqua.components.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.NFT.mdx index 2f459258a56..42abb7dc990 100644 --- a/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.28/qiskit.algorithms.optimizers.NFT.mdx @@ -30,6 +30,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -54,6 +56,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.NFT.mdx index 2ae95ddf71f..edefdc7db12 100644 --- a/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.28/qiskit.aqua.components.optimizers.NFT.mdx @@ -28,6 +28,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. @@ -50,6 +52,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **1** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.28/qpy.mdx b/docs/api/qiskit/0.28/qpy.mdx index df4a37e28c0..534880230e6 100644 --- a/docs/api/qiskit/0.28/qpy.mdx +++ b/docs/api/qiskit/0.28/qpy.mdx @@ -220,14 +220,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) Finally, if type is `i` it represents an integer which is an `int64_t`. + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **[2](#id2)** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id3)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.NFT.mdx index 3fb43ed0c95..7ebc1f59e5e 100644 --- a/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.29/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.NFT.mdx index 963bfd93d69..132f160d8f4 100644 --- a/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.29/qiskit.aqua.components.optimizers.NFT.mdx @@ -30,6 +30,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.29/qpy.mdx b/docs/api/qiskit/0.29/qpy.mdx index 68de1aa5642..610199d5f01 100644 --- a/docs/api/qiskit/0.29/qpy.mdx +++ b/docs/api/qiskit/0.29/qpy.mdx @@ -250,14 +250,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) Finally, if type is `i` it represents an integer which is an `int64_t`. + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **[2](#id2)** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id3)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.NFT.mdx index 3fb43ed0c95..7ebc1f59e5e 100644 --- a/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.30/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.NFT.mdx index 963bfd93d69..132f160d8f4 100644 --- a/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.30/qiskit.aqua.components.optimizers.NFT.mdx @@ -30,6 +30,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.30/qpy.mdx b/docs/api/qiskit/0.30/qpy.mdx index 68de1aa5642..610199d5f01 100644 --- a/docs/api/qiskit/0.30/qpy.mdx +++ b/docs/api/qiskit/0.30/qpy.mdx @@ -250,14 +250,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) Finally, if type is `i` it represents an integer which is an `int64_t`. + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **[2](#id2)** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id3)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.NFT.mdx index 3fb43ed0c95..7ebc1f59e5e 100644 --- a/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.31/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.NFT.mdx index 963bfd93d69..132f160d8f4 100644 --- a/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.31/qiskit.aqua.components.optimizers.NFT.mdx @@ -30,6 +30,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.31/qpy.mdx b/docs/api/qiskit/0.31/qpy.mdx index 68de1aa5642..610199d5f01 100644 --- a/docs/api/qiskit/0.31/qpy.mdx +++ b/docs/api/qiskit/0.31/qpy.mdx @@ -250,14 +250,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) Finally, if type is `i` it represents an integer which is an `int64_t`. + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **[2](#id2)** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id3)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.NFT.mdx index 3fb43ed0c95..7ebc1f59e5e 100644 --- a/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.32/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.NFT.mdx b/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.NFT.mdx index 963bfd93d69..132f160d8f4 100644 --- a/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.32/qiskit.aqua.components.optimizers.NFT.mdx @@ -30,6 +30,8 @@ python_api_name: qiskit.aqua.components.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.32/qpy.mdx b/docs/api/qiskit/0.32/qpy.mdx index 68de1aa5642..610199d5f01 100644 --- a/docs/api/qiskit/0.32/qpy.mdx +++ b/docs/api/qiskit/0.32/qpy.mdx @@ -250,14 +250,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) Finally, if type is `i` it represents an integer which is an `int64_t`. + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **[2](#id2)** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id3)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.NFT.mdx index e079a19afeb..100738d8616 100644 --- a/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.33/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.33/qpy.mdx b/docs/api/qiskit/0.33/qpy.mdx index 81e38b94d54..550c275be82 100644 --- a/docs/api/qiskit/0.33/qpy.mdx +++ b/docs/api/qiskit/0.33/qpy.mdx @@ -374,14 +374,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id7))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id10)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.NFT.mdx index 7e5dbf5c4d8..2fb73ff8171 100644 --- a/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.35/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.35/qpy.mdx b/docs/api/qiskit/0.35/qpy.mdx index 5f1ea925a2b..a8682ebdbf6 100644 --- a/docs/api/qiskit/0.35/qpy.mdx +++ b/docs/api/qiskit/0.35/qpy.mdx @@ -430,14 +430,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id2),[2](#id4))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id6)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.NFT.mdx index 7e5dbf5c4d8..2fb73ff8171 100644 --- a/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.36/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.36/qpy.mdx b/docs/api/qiskit/0.36/qpy.mdx index 5f1ea925a2b..a8682ebdbf6 100644 --- a/docs/api/qiskit/0.36/qpy.mdx +++ b/docs/api/qiskit/0.36/qpy.mdx @@ -430,14 +430,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id1)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id2),[2](#id4))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id6)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.NFT.mdx index dc997a58810..76868349dd8 100644 --- a/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.37/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.37/qpy.mdx b/docs/api/qiskit/0.37/qpy.mdx index ba938d2607f..4f259a89218 100644 --- a/docs/api/qiskit/0.37/qpy.mdx +++ b/docs/api/qiskit/0.37/qpy.mdx @@ -663,14 +663,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id2)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id5))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id7)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.NFT.mdx index dc997a58810..76868349dd8 100644 --- a/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.38/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.38/qpy.mdx b/docs/api/qiskit/0.38/qpy.mdx index ba938d2607f..4f259a89218 100644 --- a/docs/api/qiskit/0.38/qpy.mdx +++ b/docs/api/qiskit/0.38/qpy.mdx @@ -663,14 +663,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id2)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id5))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id7)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.39/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.39/qiskit.algorithms.optimizers.NFT.mdx index 0205c1deb2d..9472c4fde9b 100644 --- a/docs/api/qiskit/0.39/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.39/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.39/qpy.mdx b/docs/api/qiskit/0.39/qpy.mdx index ba938d2607f..4f259a89218 100644 --- a/docs/api/qiskit/0.39/qpy.mdx +++ b/docs/api/qiskit/0.39/qpy.mdx @@ -663,14 +663,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id2)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id5))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id7)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.40/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.40/qiskit.algorithms.optimizers.NFT.mdx index 121eef49e33..1dad2b8bc6d 100644 --- a/docs/api/qiskit/0.40/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.40/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.40/qpy.mdx b/docs/api/qiskit/0.40/qpy.mdx index e5e1856e82c..9d839d94259 100644 --- a/docs/api/qiskit/0.40/qpy.mdx +++ b/docs/api/qiskit/0.40/qpy.mdx @@ -700,14 +700,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id2)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id5))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id7)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.41/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.41/qiskit.algorithms.optimizers.NFT.mdx index 121eef49e33..1dad2b8bc6d 100644 --- a/docs/api/qiskit/0.41/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.41/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.41/qpy.mdx b/docs/api/qiskit/0.41/qpy.mdx index bd92b644275..93db91b50dd 100644 --- a/docs/api/qiskit/0.41/qpy.mdx +++ b/docs/api/qiskit/0.41/qpy.mdx @@ -700,14 +700,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id2)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id5))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id7)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/docs/api/qiskit/0.42/qiskit.algorithms.optimizers.NFT.mdx b/docs/api/qiskit/0.42/qiskit.algorithms.optimizers.NFT.mdx index 121eef49e33..1dad2b8bc6d 100644 --- a/docs/api/qiskit/0.42/qiskit.algorithms.optimizers.NFT.mdx +++ b/docs/api/qiskit/0.42/qiskit.algorithms.optimizers.NFT.mdx @@ -32,6 +32,8 @@ python_api_name: qiskit.algorithms.optimizers.NFT **References** + + **[1](#id1)** K. M. Nakanishi, K. Fujii, and S. Todo. 2019. Sequential minimal optimization for quantum-classical hybrid algorithms. arXiv preprint arXiv:1903.12166. diff --git a/docs/api/qiskit/0.42/qpy.mdx b/docs/api/qiskit/0.42/qpy.mdx index bd92b644275..93db91b50dd 100644 --- a/docs/api/qiskit/0.42/qpy.mdx +++ b/docs/api/qiskit/0.42/qpy.mdx @@ -700,14 +700,20 @@ struct { this matches the internal C representation of Python’s complex type. [3](#f3) + + **[1](#id2)** [https://tools.ietf.org/html/rfc1700](https://tools.ietf.org/html/rfc1700) + + **2([1](#id3),[2](#id5))** [https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html](https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html) + + **[3](#id7)** [https://docs.python.org/3/c-api/complex.html#c.Py\_complex](https://docs.python.org/3/c-api/complex.html#c.Py_complex) diff --git a/scripts/js/commands/checkInternalLinks.ts b/scripts/js/commands/checkInternalLinks.ts index 3eca65c9ba1..132b8f83afe 100644 --- a/scripts/js/commands/checkInternalLinks.ts +++ b/scripts/js/commands/checkInternalLinks.ts @@ -62,7 +62,7 @@ const readArgs = (): Arguments => { type: "boolean", default: false, description: - "Also check historical releases that are known to still fail (currently Qiskit <0.46). " + + "Also check historical releases that are known to still fail (currently Qiskit <0.45). " + "Intended to be used alongside `--historical-apis`.", }) .option("qiskit-legacy-release-notes", { @@ -147,9 +147,9 @@ async function determineFileBatches(args: Arguments): Promise { { check: args.historicalApis, hasSeparateReleaseNotes: true, - // Qiskit docs are broken on <0.46. + // Qiskit docs are broken on <0.45. skipVersions: (version) => - !args.includeBrokenHistorical && +version < 0.46, + !args.includeBrokenHistorical && +version < 0.45, }, ); diff --git a/scripts/js/lib/api/processHtml.ts b/scripts/js/lib/api/processHtml.ts index 52c1357e1c6..824ef6c3697 100644 --- a/scripts/js/lib/api/processHtml.ts +++ b/scripts/js/lib/api/processHtml.ts @@ -276,7 +276,7 @@ export function removeColonSpans($main: Cheerio): void { export function handleFootnotes($: CheerioAPI, $main: Cheerio): void { $main - .find(".footnote, .footnote-reference") + .find(".footnote, .footnote-reference, .footnote dt.label") .toArray() .forEach((footnote) => { const $footnote = $(footnote); diff --git a/scripts/js/lib/links/ignores.ts b/scripts/js/lib/links/ignores.ts index 18101dcf1c7..4608bdf6540 100644 --- a/scripts/js/lib/links/ignores.ts +++ b/scripts/js/lib/links/ignores.ts @@ -104,7 +104,7 @@ function _qiskitUtilsData(): FilesToIgnores { // Qiskit docs used .. py:data:: incorrectly. We didn't fix these versions of the docs // because it is too tedious. const objectsInv = Object.fromEntries( - ["1.0/", "1.1/"].map((vers) => [ + ["0.45/", "1.0/", "1.1/"].map((vers) => [ `public/api/qiskit/${vers}objects.inv`, [ `/api/qiskit/${vers}utils#qiskit.utils.optionals.HAS_AER`, @@ -144,8 +144,20 @@ function _qiskitUtilsData(): FilesToIgnores { ]), ); const utilsFile = Object.fromEntries( - ["1.0/", "1.1/"].map((vers) => [ - `docs/api/qiskit/${vers}utils.mdx`, + [ + "0.37", + "0.38", + "0.39", + "0.40", + "0.41", + "0.42", + "0.43", + "0.44", + "0.45", + "1.0", + "1.1", + ].map((vers) => [ + `docs/api/qiskit/${vers}/utils.mdx`, [ "#qiskit.utils.optionals.HAS_TESTTOOLS", "#qiskit.utils.optionals.HAS_GRAPHVIZ", @@ -166,7 +178,7 @@ function _patternsReorg(): FilesToIgnores { // We have redirects for all these files. It's best to update API docs to point directly to the new URL, // but we don't bother updating old docs. const qiskit = Object.fromEntries( - ["", "0.46/", "1.0/", "1.1/"].flatMap((vers) => [ + ["", "0.45/", "0.46/", "1.0/", "1.1/"].flatMap((vers) => [ [ `docs/api/qiskit/${vers}qiskit.circuit.QuantumCircuit.mdx`, ["/build/circuit-construction"],