-
Notifications
You must be signed in to change notification settings - Fork 220
Demo: How to use PennyLane for Resource Estimation #1592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 Hey, looks like you've updated some demos! 🐘 Don't forget to update the Please hide this comment once the field(s) are updated. Thanks! |
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
After the update to Sphinx, Sphinx Gallery now outputs a different format for generated code blocks, where the code block is now part of an entirely separate element and no longer nested in `rst-class` directive. This PR adds a fix to be able to handle both the new and old `sphx-glr-script-out` formats. It has been tested on #1592 .
Your preview is ready 🎉!You can view your changes here
|
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
josh146
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Daniela Angulo <[email protected]> Co-authored-by: Josh Izaac <[email protected]>
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
…ion/demo.py Co-authored-by: Andrija Paurevic <[email protected]>
ddhawan11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AntonNI8. Looks good overall, a few typos and stylistic choices.
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Outdated
Show resolved
Hide resolved
obliviateandsurrender
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few minor optional comments! 🚀
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Show resolved
Hide resolved
demonstrations_v2/re_how_to_use_pennylane_for_resource_estimation/demo.py
Show resolved
Hide resolved
ddhawan11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before submitting
Please complete the following checklist when submitting a PR:
Ensure that your tutorial executes correctly, and conforms to the
guidelines specified in the README.
Remember to do a grammar check of the content you include.
All tutorials conform to
PEP8 standards.
To auto format files, simply
pip install black, and thenrun
black -l 100 path/to/file.py.When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
Title:
Summary:
Relevant references:
Possible Drawbacks:
Related GitHub Issues:
If you are writing a demonstration, please answer these questions to facilitate the marketing process.
GOALS — Why are we working on this now?
Eg. Promote a new PL feature or show a PL implementation of a recent paper.
AUDIENCE — Who is this for?
Eg. Chemistry researchers, PL educators, beginners in quantum computing.
KEYWORDS — What words should be included in the marketing post?
Which of the following types of documentation is most similar to your file?
(more details here)