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.
Towards a non-driver future (qiskit-community#796)
* WIP: problem refactoring This is a first step towards decoupling the BaseProblem and BaseDriver interfaces. Instead of injecting drivers and transformers into a problem, these become the output of our driver classes. In turn, transformers now take entire problem instances as input and return them as output. This is an intermediate step towards the final form of the problem classes and this commit is not working fully. * refactor: make BaseProblem class instantiable * refactor: integrate PropertiesContainer * refactor: populate second_q.hamiltonians This moves the "main operators" into the new hamiltonians module and creates a base interface for these classes to follow. * refactor: extract lattice constructor methods to Lattice * refactor: remove unneeded Property subclasses * fix: some linting * fix: html generation * fix: add missing hamiltonian.interpret call * WIP: migrate driver to QCSchema * refactor: molecule dataclass - extracts a simple MoleculeInfo dataclass out of the original Molecule - moves UnitsType to DistanceType in the new units module (generalizing the concept of enumerating units) * fix: spelling * fix: PySCFDriver * fix HDF5Driver-based tests * fix: GaussianDriver * fix linters * refactor transformer tests * fix: handle optionals in unittests * fix: GaussianDriver.from_matrix_file * fix: README example * fix: tutorials * fix: slow PySCF-dependent test * fix: revert minor change to PySCFDriver * test: fix InitialPoint unittests * docs: replace open TODOs in docstrings * add reno * refactor: use direct type hints for Hamiltonians * fix: default to ANGSTROM unit in MoleculeInfo * fix: do not copy LatticeModel.lattice * fix: generalize MoleculeInfo.coords type * fix: remove unused loggers * refactor: enforce keyword arguments in drivers * refactor: extract _QCSchemaData * refactor: some QCSchema methods * fix: update some docstrings Co-authored-by: Steve Wood <[email protected]> * refactor: update argument name in transformers * refactor: extract np.asarray into reshape utility Co-authored-by: Steve Wood <[email protected]>
- Loading branch information
1 parent
b39d013
commit 545d06c
Showing
175 changed files
with
5,996 additions
and
9,131 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
19 changes: 19 additions & 0 deletions
19
docs/apidocs/qiskit_nature.second_q.hamiltonians.lattices.rst
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,19 @@ | ||
|
||
|
||
lattices | ||
================================= | ||
|
||
.. automodule:: qiskit_nature.second_q.hamiltonians.lattices | ||
:no-members: | ||
:no-inherited-members: | ||
:no-special-members: | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
Oops, something went wrong.