Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed import_state to qml.qchem-level import #4505

Merged
merged 6 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/code/qml_qchem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ number observables.
.. automodapi:: pennylane.qchem
:no-heading:
:include-all-objects:
:skip: taper, symmetry_generators, paulix_ops, import_operator, import_state
:skip: taper, symmetry_generators, paulix_ops, import_operator

Differentiable Hartree-Fock
---------------------------
Expand Down
4 changes: 2 additions & 2 deletions doc/introduction/chemistry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ If the electronic Hamiltonian is built independently using
to a PennyLane observable using the :func:`~.pennylane.import_operator` function. There is also
capability to import wavefunctions (states) that have been pre-computed by traditional quantum chemistry methods
from `PySCF <https://github.com/sunqm/pyscf>`_, which could be used to for example to provide a better
starting point to a quantum algorithm. State import can be accomplished using the :func:`~pennylane.import_state`
starting point to a quantum algorithm. State import can be accomplished using the :func:`~pennylane.qchem.import_state`
utility function.


Expand Down Expand Up @@ -264,7 +264,7 @@ Utility functions
~pennylane.qchem.givens_decomposition
~pennylane.qchem.hf_state
~pennylane.import_operator
~pennylane.import_state
~pennylane.qchem.import_state
~pennylane.qchem.mol_data
~pennylane.qchem.read_structure

Expand Down
9 changes: 5 additions & 4 deletions doc/releases/changelog-0.32.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,12 @@ array([False, False])
some aspects of its use.
[(#4391)](https://github.com/PennyLaneAI/pennylane/pull/4391)

* `qml.import_state` is now accounted for in `doc/introduction/chemistry.rst`, adding the documentation for the function.
* The `qml.qchem.import_state` function is now accounted for in `doc/introduction/chemistry.rst`,
and input types and sources for external wavefunctions and operators for `qml.qchem.import_state` and
`qml.import_operator` are specified.
[(#4461)](https://github.com/PennyLaneAI/pennylane/pull/4461)

* Input types and sources for external wavefunctions and operators for `qml.import_state`
and `qml.import_operator` are clarified. [(#4476)](https://github.com/PennyLaneAI/pennylane/pull/4476)
[(#4476)](https://github.com/PennyLaneAI/pennylane/pull/4476)
[(#4505)](https://github.com/PennyLaneAI/pennylane/pull/4505)

<h3>Bug fixes 🐛</h3>

Expand Down
1 change: 0 additions & 1 deletion pennylane/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
paulix_ops,
taper_operation,
import_operator,
import_state,
)
from pennylane._device import Device, DeviceError
from pennylane._grad import grad, jacobian
Expand Down
Loading