Skip to content

Commit

Permalink
Update improve-mappers-b55cb0ca5fd656e4.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
grossardt committed Mar 11, 2024
1 parent 4477de7 commit b1ab3c0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions releasenotes/notes/improve-mappers-b55cb0ca5fd656e4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,9 @@ features:
The class :class:`.second_q.mappers.ModeBasedMapper` has been added to implement mode based
mapping via a Pauli table (previously part of :class:`.second_q.mappers.QubitMapper`).
upgrade:
- |
The mode based mappers :class:`.JordanWignerMapper`, :class:`.BravyiKitaevMapper`,
:class:`.ParityMapper`, and :class:`.DirectMapper` are now inheriting also from the new
class :class:`.ModeBasedMapper` to implement the :meth:`.ModeBasedMapper.mode_based_mapping`
method.
- |
:meth:`.ModeBasedMapper.pauli_table` is now an instance method of all :class:`.ModeBasedMapper`
subclasses (previously a class method of :class:`.QubitMapper`)
- |
Caching has been removed from the parent classes :class:`.QubitMapper` and
:class:`.ModeBasedMapper` and is now implemented exclusively for the
:meth:`.ModeBasedMapper.pauli_table` methods in the child classes.
- |
Methods ``.pauli_table``, ``.sparse_pauli_operators``, and ``.mode_based_mapping``
have been removed from :class:`.QubitMapper`.

0 comments on commit b1ab3c0

Please sign in to comment.