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.
HDF5 Driver Update (qiskit-community#550)
* refactor: basic HDF5Driver update * test: test both HDF5 type supports * Fix copyright * test: update new expected HDF5 file * ref: align new HDF5Driver with qiskit-community#554 * feat: add HDF5Driver.convert utility method * Add reno * Fix linters * refactor: do not replace by default * refactor: use `_new.hdf5` instead of `.hdf5.new` * refactor: update wording * fix: Python <3.9 compatibility * Update docstring Co-authored-by: Panagiotis Barkoutsos <[email protected]>
- Loading branch information
Showing
6 changed files
with
168 additions
and
69 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
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,11 @@ | ||
--- | ||
features: | ||
- | | ||
The HDF5Driver has been refactored to leverage the new HDF5-integration | ||
protocol of Qiskit Nature. The driver still supports loading legacy | ||
QMolecule HDF5 files and also provides a conversion utility: | ||
.. code-block:: python | ||
driver = HDF5Driver("path_to_qmolecule.hdf5") | ||
driver.convert(replace=True) |
Binary file modified
BIN
+32.1 KB
(310%)
test/drivers/second_quantization/hdf5d/test_driver_hdf5.hdf5
Binary file not shown.
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
Binary file not shown.
53 changes: 0 additions & 53 deletions
53
test/drivers/second_quantization/hdf5d/test_driver_hdf5_save.py
This file was deleted.
Oops, something went wrong.