From 1f015859637005439c546e8166b6fb0fb790476f Mon Sep 17 00:00:00 2001 From: Max Rossmannek Date: Thu, 23 Feb 2023 10:53:50 +0100 Subject: [PATCH] Add release note --- .pylintdict | 1 + ...cate-qubit-converter-313ee07a36aa0c71.yaml | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 releasenotes/notes/deprecate-qubit-converter-313ee07a36aa0c71.yaml diff --git a/.pylintdict b/.pylintdict index 8a1d2bad55..88e122d197 100644 --- a/.pylintdict +++ b/.pylintdict @@ -459,6 +459,7 @@ quantized quantumcircuit quartic qubit +qubitmapper qubits qutrit radians diff --git a/releasenotes/notes/deprecate-qubit-converter-313ee07a36aa0c71.yaml b/releasenotes/notes/deprecate-qubit-converter-313ee07a36aa0c71.yaml new file mode 100644 index 0000000000..36aa908c62 --- /dev/null +++ b/releasenotes/notes/deprecate-qubit-converter-313ee07a36aa0c71.yaml @@ -0,0 +1,26 @@ +--- +deprecations: + - | + The :class:`~qiskit_nature.second_q.mappers.QubitConverter` class is + deprecated in favor of using the :class:~qiskit_nature.second_q.mappers.QubitMapper` + implementations directly. + As a consequence of this, all public properties and function arguments which + referred to the ``QubitConverter`` by name (e.g. ``qubit_converter``) have + been deprecated in favor of properties and function arguments referring to + ``QubitMapper`` (e.g. ``qubit_mapper``), respectively. + - | + The :meth:`~qiskit_nature.second_q.problems.BaseProblem.symmetry_sector_locator` + method has been deprecated without a direct replacement. This utility is no + longer needed in the new workflow which uses + :class:`~qiskit_nature.second_q.mappers.QubitMapper` instances directly. + Qubit tapering can instead now be done using the + :class:`~qiskit_nature.second_q.mappers.TaperedQubitMapper` which can be + constructed easily using the + :meth:`~qiskit_nature.second_q.problems.BaseProblem.get_tapered_mapper` + method. + - | + The ``match_convert`` argument of the + :meth:`~qiskit_nature.second_q.circuit.library.initial_states.hartree_fock.hartree_fock_bitstring_mapped` + method has been deprecated without replacement. This utility is no longer + needed in the new workflow which uses + :class:`~qiskit_nature.second_q.mappers.QubitMapper` instances directly.