Skip to content

Commit

Permalink
Add release note
Browse files Browse the repository at this point in the history
  • Loading branch information
mrossinek committed Feb 7, 2023
1 parent 9ad6bfc commit 53d17c1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions releasenotes/notes/feat-tensor-class-2ad38ba7246ccbd5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
features:
- |
Adds the new :class:`~qiskit_nature.second_q.operators.Tensor` class used
internally to consistently deal with n-dimensional tensors throughout the
stack.
- |
Adds the new :attr:`~qiskit_nature.settings.tensor_wrapping` setting which
may be set to ``True`` to enable automatic wrapping of any n-dimensional
tensor stored inside a
:class:`~qiskit_nature.second_q.operators.PolynomialTensor` into a
:class:`~qiskit_nature.second_q.operators.Tensor` instance.
deprecations:
- |
Deprecated the default value (``False``) of
:attr:`~qiskit_nature.settings.tensor_wrapping` meaning that in the future
:meth:`~qiskit_nature.second_q.operators.PolynomialTensor.__getitem__` will
return objects of type :class:`~qiskit_nature.second_q.operators.Tensor`.

0 comments on commit 53d17c1

Please sign in to comment.