Skip to content

Commit

Permalink
Add pre-executed pyquil notebooks (#1142)
Browse files Browse the repository at this point in the history
* add executed vqe-pyquil-demo.ipynb

* add executed pyquil_demo.ipynb

* empty commit
  • Loading branch information
andreamari authored Feb 25, 2022
1 parent 2244062 commit f8d68f1
Show file tree
Hide file tree
Showing 6 changed files with 1,045 additions and 521 deletions.
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@
# re-run for a subsequent docs build.
jupyter_execute_notebooks = "cache"

# If SKIP_PYQUIL is True, do not re-run PyQuil notebooks.
if os.environ.get("SKIP_PYQUIL"):
print("Skipping PyQuil notebooks execution since SKIP_PYQUIL is True")
execution_excludepatterns = ['*pyquil*.ipynb']

# -- Options for autodoc -----------------------------------------------------
napoleon_google_docstring = True
napoleon_use_ivar = True
Expand Down
4 changes: 2 additions & 2 deletions docs/source/examples/examples.myst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
```{nbgallery}
Mirror circuit benchmark improved with zero-noise extrapolation on AWS Braket <braket_mirror_circuit.md>
Zero-noise extrapolation on IBMQ backends<ibmq-backends.myst>
Zero-noise extrapolation on PyQuil parametric programs <pyquil_demo.myst>
Variational quantum eigensolver improved with zero-noise extrapolation <vqe-pyquil-demo.myst>
Zero-noise extrapolation on PyQuil parametric programs <pyquil_demo.ipynb>
Variational quantum eigensolver improved with zero-noise extrapolation <vqe-pyquil-demo.ipynb>
Variational circuit mitigation with zero-noise extrapolation <simple_landscape.myst>
MaxCut benchmark with zero-noise extrapolation <maxcut-demo.myst>
Defining a Mitiq executor with a hamiltonian <hamiltonians.md>
Expand Down
385 changes: 385 additions & 0 deletions docs/source/examples/pyquil_demo.ipynb

Large diffs are not rendered by default.

160 changes: 0 additions & 160 deletions docs/source/examples/pyquil_demo.myst

This file was deleted.

Loading

0 comments on commit f8d68f1

Please sign in to comment.