-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applies the same changes from Qiskit/qiskit-addon-obp#24. Refer to that for more explanation. Some notes: * Removes `qiskit_addon_mpf.rst`, since users don't actually import this module directly * Inlines the three functions and one class in `qiskit_addon_mpf.static`. This means that it is our only API file, since there is only one module! - I'm not 100% sure it makes sense to inline these interfaces. Feel free to push back. They all seemed small enough to be worth it, but you can disagree. (cherry picked from commit 0667163)
- Loading branch information
1 parent
5be2258
commit 6a22190
Showing
8 changed files
with
57 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
********************************** | ||
``qiskit-addon-mpf`` API reference | ||
********************************** | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
qiskit_addon_mpf.static |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,10 +1,26 @@ | ||
=========== | ||
Static MPFs | ||
=========== | ||
|
||
.. _qiskit_addon_mpf-static: | ||
============================================ | ||
Static MPFs (:mod:`qiskit_addon_mpf.static`) | ||
============================================ | ||
|
||
.. automodule:: qiskit_addon_mpf.static | ||
:no-members: | ||
:no-inherited-members: | ||
:no-special-members: | ||
|
||
.. currentmodule:: qiskit_addon_mpf.static | ||
|
||
Linear system of equations utilities | ||
------------------------------------ | ||
|
||
.. autoclass:: LSE | ||
.. autofunction:: setup_lse | ||
|
||
Exact static MPF coefficients | ||
----------------------------- | ||
|
||
.. autofunction:: setup_exact_model | ||
|
||
Approximate static MPF coefficients | ||
----------------------------------- | ||
|
||
.. autofunction:: setup_approximate_model |
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
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
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