-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of the dynamic MPF feature (#33)
* Implementation of the dynamic MPF feature Co-authored-by: Kate Marshall <[email protected]> Co-authored-by: Max Rossmannek <[email protected]> Co-authored-by: Niall Robertson <[email protected]> Co-authored-by: Alberto Baiardi <[email protected]> * Fix issue with empty attributes section * docs: some minor fixes based on offline review Co-authored-by: Kate Marshall <[email protected]> * docs: update reference after its peer-review publication * docs: update module overview in landing pages * docs: attempt to fix alert rendering * Revert "docs: attempt to fix alert rendering" This reverts commit 32091cb. * fix: close div in README --------- Co-authored-by: Kate Marshall <[email protected]> Co-authored-by: Kate Marshall <[email protected]> Co-authored-by: Niall Robertson <[email protected]> Co-authored-by: Alberto Baiardi <[email protected]> Co-authored-by: Eric Arellano <[email protected]>
- Loading branch information
1 parent
c999a9f
commit 2bd6331
Showing
68 changed files
with
4,636 additions
and
371 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
34 changes: 34 additions & 0 deletions
34
docs/_templates/autosummary/class_without_inherited_members.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,34 @@ | ||
{# | ||
We show all the class's methods and attributes on the same page. By default, we document | ||
all methods, including those defined by parent classes. | ||
-#} | ||
|
||
{{ objname | escape | underline }} | ||
|
||
.. currentmodule:: {{ module }} | ||
|
||
.. autoclass:: {{ objname }} | ||
:no-members: | ||
:no-inherited-members: | ||
:no-special-members: | ||
:show-inheritance: | ||
|
||
{% block attributes_summary %} | ||
{% set wanted_attributes = (attributes | reject('in', inherited_members) | list) %} | ||
{% if wanted_attributes %} | ||
.. rubric:: Attributes | ||
{% for item in wanted_attributes %} | ||
.. autoattribute:: {{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock -%} | ||
|
||
{% block methods_summary %} | ||
{% set wanted_methods = (methods | reject('==', '__init__') | reject('in', inherited_members) | list) %} | ||
{% if wanted_methods %} | ||
.. rubric:: Methods | ||
{% for item in wanted_methods %} | ||
.. automethod:: {{ item }} | ||
{%- endfor %} | ||
{% endif %} | ||
{% endblock %} |
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 |
---|---|---|
|
@@ -6,3 +6,6 @@ | |
:maxdepth: 1 | ||
|
||
qiskit_addon_mpf.static | ||
qiskit_addon_mpf.dynamic | ||
qiskit_addon_mpf.costs | ||
qiskit_addon_mpf.backends |
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 @@ | ||
============================================================================ | ||
Quimb circuit-based backend (:mod:`qiskit_addon_mpf.backends.quimb_circuit`) | ||
============================================================================ | ||
|
||
.. automodule:: qiskit_addon_mpf.backends.quimb_circuit | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
========================================================================= | ||
Quimb layer-based backend (:mod:`qiskit_addon_mpf.backends.quimb_layers`) | ||
========================================================================= | ||
|
||
.. automodule:: qiskit_addon_mpf.backends.quimb_layers | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
================================================================ | ||
Quimb TEBD backend (:mod:`qiskit_addon_mpf.backends.quimb_tebd`) | ||
================================================================ | ||
|
||
.. automodule:: qiskit_addon_mpf.backends.quimb_tebd | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
=========================================== | ||
Backends (:mod:`qiskit_addon_mpf.backends`) | ||
=========================================== | ||
|
||
.. automodule:: qiskit_addon_mpf.backends | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
========================================================================= | ||
TeNPy layer-based backend (:mod:`qiskit_addon_mpf.backends.tenpy_layers`) | ||
========================================================================= | ||
|
||
.. automodule:: qiskit_addon_mpf.backends.tenpy_layers | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
================================================================ | ||
TeNPy TEBD backend (:mod:`qiskit_addon_mpf.backends.tenpy_tebd`) | ||
================================================================ | ||
|
||
.. automodule:: qiskit_addon_mpf.backends.tenpy_tebd | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
============================================== | ||
Cost Functions (:mod:`qiskit_addon_mpf.costs`) | ||
============================================== | ||
|
||
.. automodule:: qiskit_addon_mpf.costs | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
============================================== | ||
Dynamic MPFs (:mod:`qiskit_addon_mpf.dynamic`) | ||
============================================== | ||
|
||
.. automodule:: qiskit_addon_mpf.dynamic | ||
: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
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
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 |
---|---|---|
|
@@ -56,7 +56,7 @@ If so, the first step is to clone the ``qiskit-addon-mpf`` repository. | |
git clone [email protected]:Qiskit/qiskit-addon-mpf.git | ||
Next, upgrade pip and enter the repository. | ||
Next, upgrade ``pip`` and enter the repository. | ||
|
||
.. code:: sh | ||
|
Oops, something went wrong.