-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from mrossinek/proper-qiskit-density
fix: ensure the `ElectronicDensity` is always unrestricted-spin
- Loading branch information
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
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
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/proper-qiskit-density-0582f26cc9a669d9.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,10 @@ | ||
--- | ||
fixes: | ||
- | | ||
The :class:`~qiskit_nature.second_q.properties.ElectronicDensity` object that was returned as part of the | ||
:class:`~qiskit_nature.second_q.problems.ElectronicStructureResult` from the :class:`.PySCFGroundStateSolver` | ||
was faultily storing restricted-spin information within the alpha-spin register even though the object is | ||
documented as storing unrestricted spin-data. This has been fixed and the | ||
:class:`~qiskit_nature.second_q.properties.ElectronicDensity` object is now guaranteed to store | ||
unrestricted-spin information. If a restricted-spin density is required it may be obtained from the | ||
:meth:`~qiskit_nature.second_q.properties.ElectronicDensity.trace_spin` method. |