diff --git a/docs/migration/index.rst b/docs/migration/index.rst index 5cc3df857..784594e3d 100644 --- a/docs/migration/index.rst +++ b/docs/migration/index.rst @@ -2,6 +2,9 @@ Qiskit Nature Migration Guides ############################## +If you are switching over to version 0.7, which has removed all previously +deprecated code, simply follow the instructions provided in the sections below. + Migrating from 0.5 to 0.6 ------------------------- diff --git a/releasenotes/notes/0.7-prelude-169d294985170fd5.yaml b/releasenotes/notes/0.7-prelude-169d294985170fd5.yaml deleted file mode 100644 index 61c04ce35..000000000 --- a/releasenotes/notes/0.7-prelude-169d294985170fd5.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -prelude: > - Qiskit Nature has been migrated from the `Qiskit Github organization `_ to - the `qiskit-community Github organization `_. - This reflects the fact, that Qiskit Nature is `not` part of Qiskit and is `not` maintained by IBM Quantum. - Rather, it is a community-driven project which builds upon Qiskit. - - To reflect this significant change and because we are onboarding additional codeowners and maintainers, - with this version (0.7) we have decided to *remove all deprecated* code, regardless of time of its deprecation. - This ensures that the new members of the development team do not have a large bulk of legacy code to maintain, - which they do not know a lot about and for which they were not involved in the discussions that led to its - deprecation. - - This can mean one of two things for you as the end-user: - - #. Nothing, if you already migrated your code and no longer rely on any deprecated features. - - #. Otherwise, you need to migrate your code immediately. If you cannot do that, or want to continue using some - of the features that were removed, you should pin your version of Qiskit Nature to 0.6 diff --git a/releasenotes/notes/0.7/0.7-prelude-169d294985170fd5.yaml b/releasenotes/notes/0.7/0.7-prelude-169d294985170fd5.yaml new file mode 100644 index 000000000..6544d3687 --- /dev/null +++ b/releasenotes/notes/0.7/0.7-prelude-169d294985170fd5.yaml @@ -0,0 +1,20 @@ +--- +prelude: > + Qiskit Nature has been migrated to the `qiskit-community Github organization `_ + to further emphasize that it is a community-driven project. + To reflect this change and because we are onboarding additional codeowners and maintainers, + with this version (0.7) we have decided to *remove all deprecated* code, regardless of the time of its deprecation. + This ensures that the new members of the development team do not have a large bulk of legacy code to maintain. + + This can mean one of two things for you as the end-user: + + #. Nothing, if you already migrated your code and no longer rely on any deprecated features. + + #. Otherwise, you need to migrate your code immediately. If you cannot do that, or want to continue using some + of the features that were removed, you should pin your version of Qiskit Nature to 0.6 + + You can check out the `migration guides `_ + for details on how to update your code. + + For more context on the changes around Qiskit Nature and the other application projects as well as the algorithms + library in Qiskit, be sure to read this `blog post `_. diff --git a/releasenotes/notes/add-hexagonal-lattice-a981f1b5c832a154.yaml b/releasenotes/notes/0.7/add-hexagonal-lattice-a981f1b5c832a154.yaml similarity index 100% rename from releasenotes/notes/add-hexagonal-lattice-a981f1b5c832a154.yaml rename to releasenotes/notes/0.7/add-hexagonal-lattice-a981f1b5c832a154.yaml diff --git a/releasenotes/notes/add-kagome-lattice-ba5a4867f4eab15d.yaml b/releasenotes/notes/0.7/add-kagome-lattice-ba5a4867f4eab15d.yaml similarity index 100% rename from releasenotes/notes/add-kagome-lattice-ba5a4867f4eab15d.yaml rename to releasenotes/notes/0.7/add-kagome-lattice-ba5a4867f4eab15d.yaml diff --git a/releasenotes/notes/better-angular-momentum-9de340ef91d1024a.yaml b/releasenotes/notes/0.7/better-angular-momentum-9de340ef91d1024a.yaml similarity index 62% rename from releasenotes/notes/better-angular-momentum-9de340ef91d1024a.yaml rename to releasenotes/notes/0.7/better-angular-momentum-9de340ef91d1024a.yaml index 11afb8235..c4d236ba7 100644 --- a/releasenotes/notes/better-angular-momentum-9de340ef91d1024a.yaml +++ b/releasenotes/notes/0.7/better-angular-momentum-9de340ef91d1024a.yaml @@ -4,11 +4,11 @@ features: Adds new operator generator functions to allow more fine-grained spin observables. The new functions are: - - the $S^+$ operator: :func:`.s_plus_operator` - - the $S^-$ operator: :func:`.s_minus_operator` - - the $S^x$ operator: :func:`.s_x_operator` - - the $S^y$ operator: :func:`.s_y_operator` - - the $S^z$ operator: :func:`.s_z_operator` + - the :math:`S^+` operator: :func:`.s_plus_operator` + - the :math:`S^-` operator: :func:`.s_minus_operator` + - the :math:`S^x` operator: :func:`.s_x_operator` + - the :math:`S^y` operator: :func:`.s_y_operator` + - the :math:`S^z` operator: :func:`.s_z_operator` All of these functions take the number of spatial orbitals as their only argument and return the constructed :class:`.FermionicOp`. diff --git a/releasenotes/notes/bosonic-operator-and-mapper-45bfde873f092681.yaml b/releasenotes/notes/0.7/bosonic-operator-and-mapper-45bfde873f092681.yaml similarity index 98% rename from releasenotes/notes/bosonic-operator-and-mapper-45bfde873f092681.yaml rename to releasenotes/notes/0.7/bosonic-operator-and-mapper-45bfde873f092681.yaml index 550a75313..18bc344cb 100644 --- a/releasenotes/notes/bosonic-operator-and-mapper-45bfde873f092681.yaml +++ b/releasenotes/notes/0.7/bosonic-operator-and-mapper-45bfde873f092681.yaml @@ -17,7 +17,7 @@ features: - | In order to use the bosonic operator for quantum applications, this feature also introduces the bosonic linear mapper, which allows to map the BosonicOp to the qubit space. This mapper is based - on `this paper `. + on `this paper `_. To use this mapper one can for example: .. code-block:: python diff --git a/releasenotes/notes/drop_python_3_7-35d42f30e19e7683.yaml b/releasenotes/notes/0.7/drop_python_3_7-35d42f30e19e7683.yaml similarity index 100% rename from releasenotes/notes/drop_python_3_7-35d42f30e19e7683.yaml rename to releasenotes/notes/0.7/drop_python_3_7-35d42f30e19e7683.yaml diff --git a/releasenotes/notes/faster-symmetry-unfolding-46d775eb5b2a4bf7.yaml b/releasenotes/notes/0.7/faster-symmetry-unfolding-46d775eb5b2a4bf7.yaml similarity index 100% rename from releasenotes/notes/faster-symmetry-unfolding-46d775eb5b2a4bf7.yaml rename to releasenotes/notes/0.7/faster-symmetry-unfolding-46d775eb5b2a4bf7.yaml diff --git a/releasenotes/notes/feat-polytensor-apply-multi-a3deea9586e6451a.yaml b/releasenotes/notes/0.7/feat-polytensor-apply-multi-a3deea9586e6451a.yaml similarity index 100% rename from releasenotes/notes/feat-polytensor-apply-multi-a3deea9586e6451a.yaml rename to releasenotes/notes/0.7/feat-polytensor-apply-multi-a3deea9586e6451a.yaml diff --git a/releasenotes/notes/feat-tensor-splitting-and-stacking-610c2de4f3353a1d.yaml b/releasenotes/notes/0.7/feat-tensor-splitting-and-stacking-610c2de4f3353a1d.yaml similarity index 100% rename from releasenotes/notes/feat-tensor-splitting-and-stacking-610c2de4f3353a1d.yaml rename to releasenotes/notes/0.7/feat-tensor-splitting-and-stacking-610c2de4f3353a1d.yaml diff --git a/releasenotes/notes/fix-active-space-integer-rounding-753ae77146610d9d.yaml b/releasenotes/notes/0.7/fix-active-space-integer-rounding-753ae77146610d9d.yaml similarity index 100% rename from releasenotes/notes/fix-active-space-integer-rounding-753ae77146610d9d.yaml rename to releasenotes/notes/0.7/fix-active-space-integer-rounding-753ae77146610d9d.yaml diff --git a/releasenotes/notes/fix-electronic-structure-result-printing-6e0b092097386c8f.yaml b/releasenotes/notes/0.7/fix-electronic-structure-result-printing-6e0b092097386c8f.yaml similarity index 100% rename from releasenotes/notes/fix-electronic-structure-result-printing-6e0b092097386c8f.yaml rename to releasenotes/notes/0.7/fix-electronic-structure-result-printing-6e0b092097386c8f.yaml diff --git a/releasenotes/notes/fix-excited-states-tutorial-7eaf143d365b76c6.yaml b/releasenotes/notes/0.7/fix-excited-states-tutorial-7eaf143d365b76c6.yaml similarity index 100% rename from releasenotes/notes/fix-excited-states-tutorial-7eaf143d365b76c6.yaml rename to releasenotes/notes/0.7/fix-excited-states-tutorial-7eaf143d365b76c6.yaml diff --git a/releasenotes/notes/fix-fock-5bfbf630809a0570.yaml b/releasenotes/notes/0.7/fix-fock-5bfbf630809a0570.yaml similarity index 100% rename from releasenotes/notes/fix-fock-5bfbf630809a0570.yaml rename to releasenotes/notes/0.7/fix-fock-5bfbf630809a0570.yaml diff --git a/releasenotes/notes/fix-freeze-core-transformer-with-charge-db3bd62005e9555c.yaml b/releasenotes/notes/0.7/fix-freeze-core-transformer-with-charge-db3bd62005e9555c.yaml similarity index 100% rename from releasenotes/notes/fix-freeze-core-transformer-with-charge-db3bd62005e9555c.yaml rename to releasenotes/notes/0.7/fix-freeze-core-transformer-with-charge-db3bd62005e9555c.yaml diff --git a/releasenotes/notes/fix-from-polynomial-tensor-constant-9df7f63be4a4c819.yaml b/releasenotes/notes/0.7/fix-from-polynomial-tensor-constant-9df7f63be4a4c819.yaml similarity index 100% rename from releasenotes/notes/fix-from-polynomial-tensor-constant-9df7f63be4a4c819.yaml rename to releasenotes/notes/0.7/fix-from-polynomial-tensor-constant-9df7f63be4a4c819.yaml diff --git a/releasenotes/notes/fix-hartree-fock-reference-energy-6c43c5fd68d83505.yaml b/releasenotes/notes/0.7/fix-hartree-fock-reference-energy-6c43c5fd68d83505.yaml similarity index 100% rename from releasenotes/notes/fix-hartree-fock-reference-energy-6c43c5fd68d83505.yaml rename to releasenotes/notes/0.7/fix-hartree-fock-reference-energy-6c43c5fd68d83505.yaml diff --git a/releasenotes/notes/fix-interleaved-qubit-mapper-2877a7d00921911e.yaml b/releasenotes/notes/0.7/fix-interleaved-qubit-mapper-2877a7d00921911e.yaml similarity index 100% rename from releasenotes/notes/fix-interleaved-qubit-mapper-2877a7d00921911e.yaml rename to releasenotes/notes/0.7/fix-interleaved-qubit-mapper-2877a7d00921911e.yaml diff --git a/releasenotes/notes/fix-spin-op-to-matrix-e84594248fc49fd7.yaml b/releasenotes/notes/0.7/fix-spin-op-to-matrix-e84594248fc49fd7.yaml similarity index 100% rename from releasenotes/notes/fix-spin-op-to-matrix-e84594248fc49fd7.yaml rename to releasenotes/notes/0.7/fix-spin-op-to-matrix-e84594248fc49fd7.yaml diff --git a/releasenotes/notes/fix-tensor-copying-a79c9cd626bd5563.yaml b/releasenotes/notes/0.7/fix-tensor-copying-a79c9cd626bd5563.yaml similarity index 100% rename from releasenotes/notes/fix-tensor-copying-a79c9cd626bd5563.yaml rename to releasenotes/notes/0.7/fix-tensor-copying-a79c9cd626bd5563.yaml diff --git a/releasenotes/notes/improve-register-length-handling-cb55f644da136828.yaml b/releasenotes/notes/0.7/improve-register-length-handling-cb55f644da136828.yaml similarity index 100% rename from releasenotes/notes/improve-register-length-handling-cb55f644da136828.yaml rename to releasenotes/notes/0.7/improve-register-length-handling-cb55f644da136828.yaml diff --git a/releasenotes/notes/low-rank-linalg-86da86096d6122d8.yaml b/releasenotes/notes/0.7/low-rank-linalg-86da86096d6122d8.yaml similarity index 100% rename from releasenotes/notes/low-rank-linalg-86da86096d6122d8.yaml rename to releasenotes/notes/0.7/low-rank-linalg-86da86096d6122d8.yaml diff --git a/releasenotes/notes/manual-unrestricted-spin-active-space-2462e3a9b8a10a10.yaml b/releasenotes/notes/0.7/manual-unrestricted-spin-active-space-2462e3a9b8a10a10.yaml similarity index 100% rename from releasenotes/notes/manual-unrestricted-spin-active-space-2462e3a9b8a10a10.yaml rename to releasenotes/notes/0.7/manual-unrestricted-spin-active-space-2462e3a9b8a10a10.yaml diff --git a/releasenotes/notes/puccsd-ansatz-7c97be6dca32a873.yaml b/releasenotes/notes/0.7/puccsd-ansatz-7c97be6dca32a873.yaml similarity index 100% rename from releasenotes/notes/puccsd-ansatz-7c97be6dca32a873.yaml rename to releasenotes/notes/0.7/puccsd-ansatz-7c97be6dca32a873.yaml diff --git a/releasenotes/notes/qubit-mapper-performance-ef339b83f951e5a3.yaml b/releasenotes/notes/0.7/qubit-mapper-performance-ef339b83f951e5a3.yaml similarity index 100% rename from releasenotes/notes/qubit-mapper-performance-ef339b83f951e5a3.yaml rename to releasenotes/notes/0.7/qubit-mapper-performance-ef339b83f951e5a3.yaml diff --git a/releasenotes/notes/sparse-3_11-1538988547ff6dd6.yaml b/releasenotes/notes/0.7/sparse-3_11-1538988547ff6dd6.yaml similarity index 100% rename from releasenotes/notes/sparse-3_11-1538988547ff6dd6.yaml rename to releasenotes/notes/0.7/sparse-3_11-1538988547ff6dd6.yaml diff --git a/releasenotes/notes/support-pauli-sum-op-setting-in-ucc-43e33016b268cf19.yaml b/releasenotes/notes/0.7/support-pauli-sum-op-setting-in-ucc-43e33016b268cf19.yaml similarity index 100% rename from releasenotes/notes/support-pauli-sum-op-setting-in-ucc-43e33016b268cf19.yaml rename to releasenotes/notes/0.7/support-pauli-sum-op-setting-in-ucc-43e33016b268cf19.yaml diff --git a/releasenotes/notes/ucc_imaginary-8d7d9c3322899a34.yaml b/releasenotes/notes/0.7/ucc_imaginary-8d7d9c3322899a34.yaml similarity index 100% rename from releasenotes/notes/ucc_imaginary-8d7d9c3322899a34.yaml rename to releasenotes/notes/0.7/ucc_imaginary-8d7d9c3322899a34.yaml