Skip to content

Commit 50d14b0

Browse files
authored
Update intersphinx mapping and other URLs pointing to IQP Classic (#230)
1 parent 4665e07 commit 50d14b0

10 files changed

+20
-20
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This code is part of a Qiskit project.
22
#
3-
# (C) Copyright IBM 2023, 2024.
3+
# (C) Copyright IBM 2023, 2025.
44
#
55
# This code is licensed under the Apache License, Version 2.0. You may
66
# obtain a copy of this license in the LICENSE.txt file in the root directory
@@ -122,7 +122,7 @@
122122
"python": ("https://docs.python.org/3", None),
123123
"numpy": ("https://numpy.org/doc/stable", None),
124124
"scipy": ("https://docs.scipy.org/doc/scipy", None),
125-
"qiskit": ("https://docs.quantum.ibm.com/api/qiskit/", None),
125+
"qiskit": ("https://quantum.cloud.ibm.com/docs/api/qiskit/", None),
126126
}
127127

128128
# -- Options for HTML output -------------------------------------------------

docs/getting_started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Installation
88
============
99

1010
Qiskit Algorithms depends on the main Qiskit package which has its own
11-
`Qiskit installation instructions <https://docs.quantum.ibm.com/start/install>`__ detailing the
11+
`Qiskit installation instructions <https://quantum.cloud.ibm.com/docs/guides/install-qiskit>`__ detailing the
1212
installation options for Qiskit and its supported environments/platforms. You should refer to
1313
that first, before focusing on the additional installation instructions
1414
specific to Qiskit Algorithms.
@@ -35,7 +35,7 @@ See :ref:`optional_installs` for more information.
3535

3636
Since Qiskit Algorithms depends on Qiskit, and its latest changes may require new or changed
3737
features of Qiskit, you should first follow Qiskit's `"Install from source"` instructions
38-
`here <https://docs.quantum.ibm.com/start/install-qiskit-source>`__
38+
`here <https://quantum.cloud.ibm.com/docs/guides/install-qiskit-source>`__
3939

4040
.. raw:: html
4141

docs/tutorials/01_algorithms_introduction.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"\n",
8484
"Algorithms rely on the primitives to evaluate expectation values or sample circuits. The primitives can be based on a simulator or real device and can be used interchangeably in the algorithms, as they all implement the same interface.\n",
8585
"\n",
86-
"In the VQE, we have to evaluate expectation values, so for example we can use the [qiskit.primitives.Estimator](https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.Estimator) which is shipped with the default Qiskit installation."
86+
"In the VQE, we have to evaluate expectation values, so for example we can use the [qiskit.primitives.Estimator](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.primitives.Estimator) which is shipped with the default Qiskit installation."
8787
]
8888
},
8989
{
@@ -101,7 +101,7 @@
101101
"cell_type": "markdown",
102102
"metadata": {},
103103
"source": [
104-
"This estimator uses an exact, statevector simulation to evaluate the expectation values. We can also use a shot-based and noisy simulators or real backends instead. For more information of the simulators you can check out [Qiskit Aer](https://qiskit.github.io/qiskit-aer/apidocs/aer_primitives.html) and for the actual hardware [Qiskit IBM Runtime](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime).\n",
104+
"This estimator uses an exact, statevector simulation to evaluate the expectation values. We can also use a shot-based and noisy simulators or real backends instead. For more information of the simulators you can check out [Qiskit Aer](https://qiskit.github.io/qiskit-aer/apidocs/aer_primitives.html) and for the actual hardware [Qiskit IBM Runtime](https://quantum.cloud.ibm.com/docs/api/qiskit-ibm-runtime).\n",
105105
"\n",
106106
"With all the ingredients ready, we can now instantiate the VQE:"
107107
]
@@ -211,7 +211,7 @@
211211
"\n",
212212
"To close off let's also change the estimator primitive inside the a VQE. Maybe you're satisfied with the simulation results and now want to use a shot-based simulator, or run on hardware!\n",
213213
"\n",
214-
"In this example we're changing to a shot-based estimator, still using Qiskit's reference primitive. However, you could replace the primitive by e.g. Qiskit Aer's estimator ([qiskit_aer.primitives.Estimator](https://qiskit.github.io/qiskit-aer/stubs/qiskit_aer.primitives.Estimator.html#qiskit_aer.primitives.Estimator)) or even a real backend ([qiskit_ibm_runtime.Estimator](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.Estimator)).\n",
214+
"In this example we're changing to a shot-based estimator, still using Qiskit's reference primitive. However, you could replace the primitive by e.g. Qiskit Aer's estimator ([qiskit_aer.primitives.Estimator](https://qiskit.github.io/qiskit-aer/stubs/qiskit_aer.primitives.Estimator.html#qiskit_aer.primitives.Estimator)) or even a real backend ([qiskit_ibm_runtime.Estimator](https://quantum.cloud.ibm.com/docs/api/qiskit-ibm-runtime/estimator)).\n",
215215
"\n",
216216
"For noisy loss functions, the SPSA optimizer typically performs well, so we also update the optimizer. See also the [noisy VQE tutorial](03_vqe_simulation_with_noise.ipynb) for more details on shot-based and noisy simulations."
217217
]

docs/tutorials/02_vqe_advanced_options.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"cell_type": "markdown",
6060
"metadata": {},
6161
"source": [
62-
"The next step is to instantiate the `Estimator` of choice for the evaluation of expectation values within `VQE`. For simplicity, you can select the [qiskit.primitives.Estimator](https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.Estimator) that comes as part of Qiskit."
62+
"The next step is to instantiate the `Estimator` of choice for the evaluation of expectation values within `VQE`. For simplicity, you can select the [qiskit.primitives.Estimator](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.primitives.Estimator) that comes as part of Qiskit."
6363
]
6464
},
6565
{

docs/tutorials/03_vqe_simulation_with_noise.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"The algorithm of choice is once again VQE, where the task consists on finding the minimum (ground state) energy of a Hamiltonian. As shown in previous tutorials, VQE takes in a qubit operator as input. Here, you will take a set of Pauli operators that were originally computed by Qiskit Nature for the H2 molecule, using the [SparsePauliOp](https://docs.quantum.ibm.com/api/qiskit/qiskit.quantum_info.SparsePauliOp) class."
18+
"The algorithm of choice is once again VQE, where the task consists on finding the minimum (ground state) energy of a Hamiltonian. As shown in previous tutorials, VQE takes in a qubit operator as input. Here, you will take a set of Pauli operators that were originally computed by Qiskit Nature for the H2 molecule, using the [SparsePauliOp](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.quantum_info.SparsePauliOp) class."
1919
]
2020
},
2121
{
@@ -388,7 +388,7 @@
388388
"source": [
389389
"You can notice that, while the noiseless simulation's result is closer to the exact reference value, there is still some difference. This is due to the sampling noise, introduced by limiting the number of shots to 1024. A larger number of shots would decrease this sampling error and close the gap between these two values.\n",
390390
"\n",
391-
"As for the noise introduced by real devices (or simulated noise models), it could be tackled through a wide variety of error mitigation techniques. The [Qiskit Runtime Primitives](https://docs.quantum.ibm.com/api/qiskit-ibm-runtime) have enabled error mitigation through the `resilience_level` option. This option is currently available for remote simulators and real backends accessed via the Runtime Primitives, you can consult [this documentation](https://docs.quantum.ibm.com/run/configure-error-mitigation) for further information."
391+
"As for the noise introduced by real devices (or simulated noise models), it could be tackled through a wide variety of error mitigation techniques. The [Qiskit Runtime Primitives](https://quantum.cloud.ibm.com/docs/api/qiskit-ibm-runtime) have enabled error mitigation through the `resilience_level` option. This option is currently available for remote simulators and real backends accessed via the Runtime Primitives, you can consult [this documentation](https://quantum.cloud.ibm.com/docs/guides/configure-error-mitigation) for further information."
392392
]
393393
},
394394
{

docs/tutorials/10_pvqd.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"\\theta_{n+1} = \\theta_n + \\arg\\min_{\\delta\\theta} 1 - |\\langle\\phi(\\theta_n + \\delta\\theta)|e^{-i\\Delta_t H}|\\phi(\\theta_n)\\rangle|^2,\n",
1515
"$$\n",
1616
"\n",
17-
"where $e^{-i\\Delta_t H}$ is calculated with a Trotter expansion (using e.g. the [PauliEvolutionGate](https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.PauliEvolutionGate) in Qiskit!).\n",
17+
"where $e^{-i\\Delta_t H}$ is calculated with a Trotter expansion (using e.g. the [PauliEvolutionGate](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.circuit.library.PauliEvolutionGate) in Qiskit!).\n",
1818
"\n",
1919
"The following tutorial explores the p-VQD algorithm, which is available as the [PVQD](https://qiskit-community.github.io/qiskit-algorithms/stubs/qiskit_algorithms.PVQD.html) class. For details on the algorithm, see the original paper: [Barison et al. Quantum 5, 512 (2021)](https://quantum-journal.org/papers/q-2021-07-28-512/#)."
2020
]

docs/tutorials/12_gradients_framework.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"source": [
1515
"# Gradient Framework\n",
16-
"This tutorial demonstrates the use of the `qiskit_algorithms.gradients` module to evaluate quantum gradients using the [Qiskit Primitives](https://docs.quantum.ibm.com/api/qiskit/primitives).\n",
16+
"This tutorial demonstrates the use of the `qiskit_algorithms.gradients` module to evaluate quantum gradients using the [Qiskit Primitives](https://quantum.cloud.ibm.com/docs/api/qiskit/primitives).\n",
1717
"\n",
1818
"## Introduction\n",
1919
"The gradient frameworks allows the evaluation of quantum gradients (see [Schuld et al.](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.99.032331) and [Mari et al.](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.103.012405)).\n",

docs/tutorials/13_trotterQRTE.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"| $\\ldots$ | $\\ldots$ |\n",
5050
"| $\\lvert 1 1 1 1 \\rangle$ | $\\downarrow\\downarrow\\downarrow\\downarrow$ |\n",
5151
"\n",
52-
"First, we will create a function that takes in the system parameters $L$, $J$, $h$ and $\\alpha$, and returns our Hamiltonian as a `SparsePauliOp`. A [SparsePauliOp](https://docs.quantum.ibm.com/api/qiskit/qiskit.quantum_info.SparsePauliOp) is a sparse representation of an operator in terms of weighted [Pauli](https://docs.quantum.ibm.com/api/qiskit/qiskit.quantum_info.Pauli) terms."
52+
"First, we will create a function that takes in the system parameters $L$, $J$, $h$ and $\\alpha$, and returns our Hamiltonian as a `SparsePauliOp`. A [SparsePauliOp](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.quantum_info.SparsePauliOp) is a sparse representation of an operator in terms of weighted [Pauli](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.quantum_info.Pauli) terms."
5353
]
5454
},
5555
{
@@ -198,7 +198,7 @@
198198
"id": "6b207d17-7633-40b6-b70e-3788966c4fb8",
199199
"metadata": {},
200200
"source": [
201-
"By sequentially decomposing the circuit, we can show it in terms of Qiskit's [Circuit Library](https://docs.quantum.ibm.com/api/qiskit/circuit_library) standard gates."
201+
"By sequentially decomposing the circuit, we can show it in terms of Qiskit's [Circuit Library](https://quantum.cloud.ibm.com/docs/api/qiskit/circuit_library) standard gates."
202202
]
203203
},
204204
{
@@ -547,7 +547,7 @@
547547
"\\vert \\psi(t) \\rangle = e^{-i H t} \\vert \\psi(0) \\rangle \\text{,}\n",
548548
"$$\n",
549549
"\n",
550-
"on each one of the timesteps used by Trotter. We compute this exponential using SciPy's [linalg.expm](https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.expm.html) function, and then we let the initial system evolve using the `Statevector`'s [evolve](https://docs.quantum.ibm.com/api/qiskit/qiskit.quantum_info.Statevector#evolve) method. This becomes too costly to be performed on larger systems very quickly."
550+
"on each one of the timesteps used by Trotter. We compute this exponential using SciPy's [linalg.expm](https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.expm.html) function, and then we let the initial system evolve using the `Statevector`'s [evolve](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.quantum_info.Statevector#evolve) method. This becomes too costly to be performed on larger systems very quickly."
551551
]
552552
},
553553
{
@@ -646,7 +646,7 @@
646646
"source": [
647647
"### Product formula overview\n",
648648
"\n",
649-
"If it isn't specified, the default product formula that `TrotterQRTE` uses is the Lie product formula [2], which is at first order. In Qiskit this is implemented in the [LieTrotter](https://docs.quantum.ibm.com/api/qiskit/qiskit.synthesis.LieTrotter) class. A first order formula consists of the approximation stated in the introduction, where the matrix exponential of a sum is approximated by a product of matrix exponentials:\n",
649+
"If it isn't specified, the default product formula that `TrotterQRTE` uses is the Lie product formula [2], which is at first order. In Qiskit this is implemented in the [LieTrotter](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.synthesis.LieTrotter) class. A first order formula consists of the approximation stated in the introduction, where the matrix exponential of a sum is approximated by a product of matrix exponentials:\n",
650650
"\n",
651651
"$$\n",
652652
"e^{A+B} \\approx e^A e^B\n",
@@ -729,7 +729,7 @@
729729
"id": "ad8c6b98-eb15-497f-ba17-35402c0f8a22",
730730
"metadata": {},
731731
"source": [
732-
"There exists a second-order formula, called the Suzuki-Trotter decomposition [3], and can be used in Qiskit by means of the [SuzukiTrotter class](https://docs.quantum.ibm.com/api/qiskit/qiskit.synthesis.SuzukiTrotter). Using this formula, a second order decomposition is:\n",
732+
"There exists a second-order formula, called the Suzuki-Trotter decomposition [3], and can be used in Qiskit by means of the [SuzukiTrotter class](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.synthesis.SuzukiTrotter). Using this formula, a second order decomposition is:\n",
733733
"\n",
734734
"$$\n",
735735
"e^{A+B} \\approx e^{B/2}e^{A}e^{B/2}\n",

qiskit_algorithms/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This code is part of a Qiskit project.
22
#
3-
# (C) Copyright IBM 2018, 2024.
3+
# (C) Copyright IBM 2018, 2025.
44
#
55
# This code is licensed under the Apache License, Version 2.0. You may
66
# obtain a copy of this license in the LICENSE.txt file in the root directory
@@ -31,7 +31,7 @@
3131
time evolution and quantum machine learning.
3232
3333
The quantum algorithms here all use
34-
`Primitives <https://docs.quantum.ibm.com/run/primitives>`__
34+
`Primitives <https://quantum.cloud.ibm.com/docs/guides/primitives>`__
3535
to execute quantum circuits. This can be an
3636
``Estimator``, which computes expectation values, or a ``Sampler`` which computes
3737
probability distributions. Refer to the specific algorithm for more information in this regard.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
prelude: >
3-
This release now supports `Qiskit 1.0 <https://docs.quantum.ibm.com/api/qiskit/release-notes/1.0>`__
3+
This release now supports `Qiskit 1.0 <https://quantum.cloud.ibm.com/docs/api/qiskit/release-notes/1.0>`__
44
while continuing to work with the Qiskit 0.46 release for those still navigating the changes brought
55
about in the Qiskit 1.0 release.

0 commit comments

Comments
 (0)