Skip to content

Commit

Permalink
Merge pull request #25 from QuEraComputing/john/dl-button-fix
Browse files Browse the repository at this point in the history
Download Button Fix
  • Loading branch information
weinbe58 authored Oct 6, 2023
2 parents b3b6e90 + f907287 commit e0a6133
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 9 deletions.
3 changes: 3 additions & 0 deletions docs/docs/examples/example-1-floquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-1-floquet.py" download> Download Script </a>

# %% [markdown]
# # Single Qubit Floquet Dynamics
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-1-rabi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-1-rabi.py" download> Download Script </a>

# %% [markdown]
# # Single Qubit Rabi Oscillations
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-1-ramsey.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-1-ramsey.py" download> Download Script </a>

# %% [markdown]
# # Single Qubit Ramsey Protocol
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-2-multi-qubit-blockaded.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-2-multi-qubit-blockaded.py" download> Download Script </a>

# %% [markdown]
# # Multi-qubit Blockaded Rabi Oscillations
# ## Introduction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-2-nonequilibrium-dynamics-blockade-radius.py" download> Download Script </a>

# %% [markdown]
# # Nonequilibrium Dynamics of nearly Blockaded Rydberg Atoms
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-2-two-qubit-adiabatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-2-two-qubit-adiabatic.py" download> Download Script </a>

# %% [markdown]
# # Two Qubit Adiabatic Sweep
# ## Introduction
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/examples/example-3-2d-ordered-state.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-3-2d-ordered-state.py" download> Download Script </a>


# %% [markdown]
# # 2D State Preparation
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-3-time-sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-3-time-sweep.py" download> Download Script </a>

# %% [markdown]
# # 1D Z2 State Preparation
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-4-quantum-scar-dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-4-quantum-scar-dynamics.py" download> Download Script </a>

# %% [markdown]
# # Quantum Scar Dynamics
# ## Introduction
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/examples/example-5-MIS-UDG.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# name: python3
# ---

# %% [markdown]
# <a class=md-button href="example-5-MIS-UDG.py" download> Download Script </a>

# %% [markdown]
# # Solving the Maximal Independent Set Problem on defective King Graph
# ## Introduction
Expand Down
9 changes: 0 additions & 9 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
{% extends "base.html" %}

{% block content %}
{% if page.nb_url %}
<a href="{{ page.nb_url }}" title="Download Notebook" class="md-content__button md-icon">
{% include ".icons/material/download.svg" %}
</a>
{% endif %}

{{ super() }}
{% endblock content %}

0 comments on commit e0a6133

Please sign in to comment.