-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cache_mapped_wires
- Loading branch information
Showing
12 changed files
with
147 additions
and
18 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
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 |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{{ fullname | replace("pennylane", "qml") }} | ||
{{ underline }} | ||
|
||
.. autoclass:: {{ fullname }} | ||
:show-inheritance: | ||
|
||
{% if '__init__' in methods %} | ||
{% set caught_result = methods.remove('__init__') %} | ||
{% endif %} | ||
|
||
{% block attributes_documentation %} | ||
{% if attributes %} | ||
|
||
.. raw:: html | ||
|
||
<a class="attr-details-header collapse-header" data-toggle="collapse" href="#attrDetails" aria-expanded="false" aria-controls="attrDetails"> | ||
<h2 style="font-size: 24px;"> | ||
<i class="fas fa-angle-down rotate" style="float: right;"></i> Attributes | ||
</h2> | ||
</a> | ||
<div class="collapse" id="attrDetails"> | ||
|
||
{% block attributes_summary %} | ||
{% if attributes %} | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
{% for item in attributes %} | ||
~{{ name }}.{{ item }} | ||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
{% for item in attributes %} | ||
{%- if item not in inherited_members %} | ||
.. autoattribute:: {{ item }} | ||
{%- endif %} | ||
{%- endfor %} | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block methods_documentation %} | ||
{% if methods %} | ||
|
||
.. raw:: html | ||
|
||
<a class="meth-details-header collapse-header" data-toggle="collapse" href="#methDetails" aria-expanded="false" aria-controls="methDetails"> | ||
<h2 style="font-size: 24px;"> | ||
<i class="fas fa-angle-down rotate" style="float: right;"></i> Methods | ||
</h2> | ||
</a> | ||
<div class="collapse" id="methDetails"> | ||
|
||
{% block methods_summary %} | ||
{% if methods %} | ||
|
||
.. autosummary:: | ||
{% for item in methods %} | ||
~{{ name }}.{{ item }} | ||
{%- endfor %} | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
{% for item in methods %} | ||
{%- if item not in inherited_members %} | ||
.. automethod:: {{ item }} | ||
{%- endif %} | ||
{%- endfor %} | ||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
{% endif %} | ||
{% endblock %} | ||
|
||
.. raw:: html | ||
|
||
<script type="text/javascript"> | ||
$(".collapse-header").click(function () { | ||
$(this).children('h2').eq(0).children('i').eq(0).toggleClass("up"); | ||
}) | ||
</script> |
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