Skip to content

Commit 3e7c48b

Browse files
authored
Update intersphinx mapping and other URLs pointing to IQP Classic (#933)
* Update intersphinx mapping and others URLs pointing to IQP Classic * fix copyright date * fix broken links
1 parent ef44f5a commit 3e7c48b

11 files changed

+28
-28
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ to solve classification or regression problems respectively. It is also compatib
4646

4747
Qiskit Machine Learning defines a generic interface for neural networks, implemented by two core (derived) primitives:
4848

49-
- **[`EstimatorQNN`](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.neural_networks.EstimatorQNN.html):** Leverages the [`Estimator`](https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.BaseEstimator) primitive, combining parametrized quantum circuits with quantum mechanical observables. The output is the expected value of the observable.
49+
- **[`EstimatorQNN`](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.neural_networks.EstimatorQNN.html):** Leverages the [`Estimator`](https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.BaseEstimator) primitive, combining parametrized quantum circuits with quantum mechanical observables. The output is the expected value of the observable.
5050

51-
- **[`SamplerQNN`](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.neural_networks.SamplerQNN.html):** Leverages the [`Sampler`](https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.BaseSampler) primitive, translating bit-string counts into the desired outputs.
51+
- **[`SamplerQNN`](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.neural_networks.SamplerQNN.html):** Leverages the [`Sampler`](https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.BaseSampler) primitive, translating bit-string counts into the desired outputs.
5252

5353
To train and use neural networks, Qiskit Machine Learning provides learning algorithms such as the [`NeuralNetworkClassifier`](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.algorithms.NeuralNetworkClassifier.html#qiskit_machine_learning.algorithms.NeuralNetworkClassifier)
5454
and [`NeuralNetworkRegressor`](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.algorithms.NeuralNetworkRegressor.html#qiskit_machine_learning.algorithms.NeuralNetworkRegressor).
@@ -102,7 +102,7 @@ For more details on how to do so and much more, follow the instructions in the
102102
> Learning, Qiskit `1.0` or above will be required. If you have a pre-`1.0` version of Qiskit
103103
> installed in your environment (however it was installed), you should upgrade to `1.x` to
104104
> continue using the latest features. You may refer to the
105-
> official [Qiskit 1.0 Migration Guide](https://docs.quantum.ibm.com/api/migration-guides/qiskit-1.0)
105+
> official [Qiskit 1.0 Migration Guide](https://quantum.cloud.ibm.com/docs/migration-guides/qiskit-1.0)
106106
> for detailed instructions and examples on how to upgrade Qiskit.
107107
108108
----------------------------------------------------------------------------------------------------

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Qiskit Machine Learning supports one minor version release at a time, both for b
88
> For example, if the most recent release is `0.7.2`, then the current major release series is `0.x` the current minor
99
> release is `0.7.x`, with `0.7.2` being the current patch release.
1010
11-
As an additional resource, you can find more details on the release and support schedule of Qiskit in the [documentation](https://docs.quantum.ibm.com/start/install#release-schedule).
11+
As an additional resource, you can find more details on the release and support schedule of Qiskit in the [documentation](https://quantum.cloud.ibm.com/docs/en/open-source/qiskit-sdk-version-strategy).
1212

1313
## Reporting a Vulnerability
1414

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 2021, 2024.
3+
# (C) Copyright IBM 2021, 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
@@ -176,7 +176,7 @@
176176
"numpy": ("https://numpy.org/doc/stable", None),
177177
"scipy": ("https://docs.scipy.org/doc/scipy", None),
178178
"sklearn": ("https://scikit-learn.org/stable", None),
179-
"qiskit": ("https://docs.quantum.ibm.com/api/qiskit", None),
179+
"qiskit": ("https://quantum.cloud.ibm.com/docs/api/qiskit", None),
180180
}
181181

182182
html_context = {"analytics_enabled": True}

docs/getting_started.rst

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

1010
Qiskit Machine Learning depends on Qiskit, which has its own
11-
`installation instructions <https://docs.quantum.ibm.com/start/install>`__ detailing
11+
`installation instructions <https://quantum.cloud.ibm.com/docs/guides/install-qiskit>`__ detailing
1212
installation options and its supported environments/platforms. You should refer to
1313
that first. Then the information here can be followed which focuses on the additional installation
1414
specific to Qiskit Machine Learning.
@@ -21,7 +21,7 @@ See :ref:`optional_installs` for more information.
2121

2222
.. tab-item:: Start locally
2323

24-
The simplest way to get started is to follow the installation guide for Qiskit `here <https://docs.quantum.ibm.com/start/install>`__
24+
The simplest way to get started is to follow the installation guide for Qiskit `here <https://quantum.cloud.ibm.com/docs/guides/install-qiskit>`__
2525

2626
In your virtual environment, where you installed Qiskit, install ``qiskit-machine-learning`` as follows:
2727

@@ -44,7 +44,7 @@ See :ref:`optional_installs` for more information.
4444

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

4949
.. raw:: html
5050

@@ -114,7 +114,7 @@ Migration to Qiskit 1.x
114114
Learning, Qiskit ``1.0`` or above will be required. If you have a pre-``1.0`` version of Qiskit
115115
installed in your environment (however it was installed), you should upgrade to ``1.x`` to
116116
continue using the latest features. You may refer to the
117-
official `Qiskit 1.0 Migration Guide <https://docs.quantum.ibm.com/api/migration-guides/qiskit-1.0>`_
117+
official `Qiskit 1.0 Migration Guide <https://quantum.cloud.ibm.com/docs/migration-guides/qiskit-1.0>`_
118118
for detailed instructions and examples on how to upgrade Qiskit.
119119

120120

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ Quantum Neural Networks (QNNs)
4141
Qiskit Machine Learning defines a generic interface for neural networks, implemented by two core (derived) primitives:
4242

4343
- :class:`~qiskit_machine_learning.neural_networks.EstimatorQNN` leverages the Qiskit
44-
`Estimator <https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.BaseEstimator>`__ primitive, combining parametrized quantum circuits
44+
`Estimator <https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.BaseEstimator>`__ primitive, combining parametrized quantum circuits
4545
with quantum mechanical observables. The output is the expected value of the observable.
4646

4747
- :class:`~qiskit_machine_learning.neural_networks.SamplerQNN` leverages the Qiskit
48-
`Sampler <https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.BaseSampler>`__ primitive,
48+
`Sampler <https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.BaseSampler>`__ primitive,
4949
translating bit-string counts into the desired outputs.
5050

5151
To train and use neural networks, Qiskit Machine Learning provides learning algorithms such as the :class:`~qiskit_machine_learning.algorithms.NeuralNetworkClassifier`

docs/migration/01_migration_guide_0.5.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,36 +35,36 @@ respectively, that implement these two operations:
3535

3636
- Sampler class calculates probabilities or quasi-probabilities of
3737
bitstrings from quantum circuits. The base class is
38-
`qiskit.primitives.BaseSampler <https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.BaseSampler>`__.
38+
`qiskit.primitives.BaseSampler <https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.BaseSampler>`__.
3939
- Estimator class estimates expectation values of quantum circuits and
4040
observables. The base class is
41-
`qiskit.primitives.BaseEstimator <https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.BaseEstimator>`__.
41+
`qiskit.primitives.BaseEstimator <https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.BaseEstimator>`__.
4242

4343
Qiskit Terra provides core interfaces and two implementations:
4444

4545
- The reference implementation that is statevector based. This
4646
implementation does require a backend or a simulator, it relies on
4747
the classes from the
48-
`quantum_info <https://docs.quantum.ibm.com/api/qiskit/quantum_info>`__
48+
`quantum_info <https://quantum.cloud.ibm.com/docs/api/qiskit/quantum_info>`__
4949
package.
5050
- The backend based primitives are to support provider/backends that do
5151
not support primitives directly. This implementation requires an
5252
instance of a backend to be passed to a primitive.
5353

5454
More information on the Qiskit Terra primitives can be found in the
55-
`documentation <https://docs.quantum.ibm.com/api/qiskit/primitives>`__.
55+
`documentation <https://quantum.cloud.ibm.com/docs/api/qiskit/primitives>`__.
5656

5757
It is worth mentioning other implementations as well:
5858

5959
- Aer primitives should be used for Aer simulator. They extend
6060
corresponding interfaces from Terra and can be used in the same way
6161
as primitives from Terra. See
62-
`documentation <https://docs.quantum.ibm.com/api/qiskit/0.39/aer_primitives>`__
62+
`documentation <https://quantum.cloud.ibm.com/docs/api/qiskit/0.39/aer_primitives>`__
6363
for more information.
6464
- The runtime primitives to be used with IBM devices. This is an
6565
implementation that is focused on cloud computing on actual hardware.
6666
See
67-
`here <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime>`__.
67+
`here <https://quantum.cloud.ibm.com/docs/api/qiskit-ibm-runtime>`__.
6868

6969
Along with the primitives Terra has some primitive-like algorithms that
7070
are highly useful in QML and used by the new 0.5 functions:
@@ -240,7 +240,7 @@ none is passed. But here, we create it manually for illustrative
240240
purposes. To create a fidelity instance we pass a sampler. The sampler
241241
is the reference implementation and defines where our quantum circuits
242242
are executed. You may create a sampler instance from
243-
`QiskitRuntimeService <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.QiskitRuntimeService>`__
243+
`QiskitRuntimeService <https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/qiskit-runtime-service>`__
244244
to leverage Qiskit runtime services.
245245

246246
.. code:: ipython3
@@ -596,7 +596,7 @@ Building a regressor using ``EstimatorQNN``
596596

597597
Create an instance of the reference Estimator. You may create an
598598
estimator instance from
599-
`QiskitRuntimeService <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.QiskitRuntimeService>`__
599+
`QiskitRuntimeService <https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/qiskit-runtime-service>`__
600600
to leverage Qiskit runtime services.
601601

602602
.. code:: ipython3
@@ -679,7 +679,7 @@ deprecated or pending deprecation:
679679
Qiskit Programs that embed Qiskit Runtime in the algorithmic
680680
interfaces and facilitate usage of algorithms and scripts in the
681681
cloud. You should use
682-
`QiskitRuntimeService <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.QiskitRuntimeService>`__
682+
`QiskitRuntimeService <https://quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/qiskit-runtime-service>`__
683683
to leverage primitives and runtimes.
684684

685685
.. code:: ipython3

docs/migration/02_migration_guide_0.8.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Overview of the primitives
2323

2424
With the launch of `Qiskit 1.0`, V1 primitives are deprecated and replaced by V2 primitives. Further details
2525
are available in the
26-
`V2 primitives migration guide <https://docs.quantum.ibm.com/migration-guides/v2-primitives>`__.
26+
`V2 primitives migration guide <https://quantum.cloud.ibm.com/docs/migration-guides/v2-primitives>`__.
2727

2828
The Qiskit Machine Learning 0.8 update aligns with the Qiskit IBM Runtime’s Primitive Unified Block (PUB)
2929
requirements and the constraints of the instruction set architecture (ISA) for circuits and observables.

docs/tutorials/01_neural_networks.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
"3. [SamplerQNN](https://qiskit-community.github.io/qiskit-machine-learning/locale/fr_FR/stubs/qiskit_machine_learning.neural_networks.SamplerQNN.html): A network based on the samples resulting from measuring a quantum circuit.\n",
6565
"\n",
6666
"\n",
67-
"These implementations are based on the [qiskit primitives](https://docs.quantum.ibm.com/api/qiskit/primitives). The primitives are the entry point to run QNNs on either a simulator or real quantum hardware. Each implementation, `EstimatorQNN` and `SamplerQNN`, takes in an optional instance of its corresponding primitive, which can be any subclass of `BaseEstimator` and `BaseSampler`, respectively.\n",
67+
"These implementations are based on the [qiskit primitives](https://quantum.cloud.ibm.com/docs/api/qiskit/primitives). The primitives are the entry point to run QNNs on either a simulator or real quantum hardware. Each implementation, `EstimatorQNN` and `SamplerQNN`, takes in an optional instance of its corresponding primitive, which can be any subclass of `BaseEstimator` and `BaseSampler`, respectively.\n",
6868
"\n",
6969
"The `qiskit.primitives` module provides a reference implementation for the `Sampler` and `Estimator` classes to run statevector simulations. By default, if no instance is passed to a QNN class, an instance of the corresponding reference primitive (`Sampler` or `Estimator`) is created automatically by the network.\n",
70-
"For more information about primitives please refer to the [primitives documentation](https://docs.quantum.ibm.com/api/qiskit/primitives).\n",
70+
"For more information about primitives please refer to the [primitives documentation](https://quantum.cloud.ibm.com/docs/api/qiskit/primitives).\n",
7171
"\n",
7272
"The `NeuralNetwork` class is the interface for all QNNs available in `qiskit-machine-learning`.\n",
7373
"It exposes a forward and a backward pass that take data samples and trainable weights as input.\n",

docs/tutorials/02a_training_a_quantum_model_on_a_real_dataset.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@
566566
"\n",
567567
"Now let's see what we can tune to get even better models.\n",
568568
"\n",
569-
"- The key components are the feature map and the ansatz. You can tweak parameters. In our case, you may change the `reps` parameter that specifies how repetitions of a gate pattern we add to the circuit. Larger values lead to more entanglement operations and more parameters. Thus, the model can be more flexible, but the higher number of parameters also adds complexity, and training such a model usually takes more time. Furthermore, we may end up overfitting the model. You can try the other feature maps and ansatzes available in the [Qiskit circuit library](https://docs.quantum.ibm.com/api/qiskit/circuit_library#n-local-circuits), or you can come up with custom circuits.\n",
569+
"- The key components are the feature map and the ansatz. You can tweak parameters. In our case, you may change the `reps` parameter that specifies how repetitions of a gate pattern we add to the circuit. Larger values lead to more entanglement operations and more parameters. Thus, the model can be more flexible, but the higher number of parameters also adds complexity, and training such a model usually takes more time. Furthermore, we may end up overfitting the model. You can try the other feature maps and ansatzes available in the [Qiskit circuit library](https://quantum.cloud.ibm.com/docs/api/qiskit/circuit_library#n-local-circuits), or you can come up with custom circuits.\n",
570570
"- You may try other optimizers. Qiskit contains a bunch of them. Some of them are gradient-free, others not. If you choose a gradient-based optimizer, e.g., `L_BFGS_B`, expect the training time to increase. Additionally to the objective function, these optimizers must evaluate the gradient with respect to the training parameters, which leads to an increased number of circuit executions per iteration.\n",
571571
"- Another option is to randomly (or deterministically) sample `initial_point` and fit the model several times.\n",
572572
"\n",

docs/tutorials/03_quantum_kernel.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@
231231
"\n",
232232
"We use the [FidelityQuantumKernel](https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.kernels.FidelityQuantumKernel.html) class, and pass two input arguments to its constructor: \n",
233233
"\n",
234-
"1. `feature_map`: in this case, a two-qubit [ZZFeatureMap](https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.ZZFeatureMap).\n",
234+
"1. `feature_map`: in this case, a two-qubit [ZZFeatureMap](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit.circuit.library.ZZFeatureMap).\n",
235235
"\n",
236-
"2. `fidelity`: in this case, the [ComputeUncompute](https://qiskit-community.github.io/qiskit-algorithms/stubs/qiskit_algorithms.state_fidelities.ComputeUncompute.html) fidelity subroutine that leverages the [Sampler](https://docs.quantum.ibm.com/api/qiskit/qiskit.primitives.Sampler) primitive.\n",
236+
"2. `fidelity`: in this case, the [ComputeUncompute](https://qiskit-community.github.io/qiskit-algorithms/stubs/qiskit_algorithms.state_fidelities.ComputeUncompute.html) fidelity subroutine that leverages the [Sampler](https://quantum.cloud.ibm.com/docs/api/qiskit/1.4/qiskit.primitives.Sampler) primitive.\n",
237237
"\n",
238238
"**NOTE:** If you don't pass a `Sampler` or `Fidelity` instance, then the instances of the reference `Sampler` and `ComputeUncompute` classes (found in `qiskit.primitives`) will be created by default."
239239
]

releasenotes/notes/0.7/remove-qgan-runtime-aa74bec5d95ffa00.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ upgrade:
99
- New primitive based quantum neural networks :class:`~qiskit_machine_learning.neural_networks.EstimatorQNN`,
1010
:class:`~qiskit_machine_learning.neural_networks.SamplerQNN`, PyTorch connector
1111
:class:`~qiskit_machine_learning.connectors.TorchConnector`, and
12-
`Qiskit Runtime Service <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime>`__
12+
`Qiskit Runtime Service <https://quantum.cloud.ibm.com/docs/api/qiskit-ibm-runtime>`__
1313
to get functionality similar to what the removed `runtime` package provided.

0 commit comments

Comments
 (0)