forked from qiskit-community/qiskit-nature
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
releasenotes/notes/feat-tensor-class-2ad38ba7246ccbd5.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. |