-
Notifications
You must be signed in to change notification settings - Fork 188
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
Merge master
into dev
#1236
Merged
Merged
Merge master
into dev
#1236
Commits on Oct 8, 2024
-
Remove canonical URLs from demo metadata (#1232)
**Title:** Remove the `canonicalURL` field from demo metadata. **Summary:** This PR removes the `canonicalURL` field from existing demo metadata. The `canonicalURL` field has been superseded by the (autogenerated) `slug` field as of #1228. **Relevant references:** None. **Possible Drawbacks:** None. **Related GitHub Issues:** None. --- **Detailed Changes:** 1. Fixed the `$id` reference in `demo.metadata.schema.0.1.3.json`. 2. Added `demo.metadata.schema.0.1.4.json` which removes the `canonicalURL` field. 3. Updated the example metadata in `demonstrations_metadata.md`. 4. Removed the `canonicalURL` field from existing demo metadata (and adjusted `dateOfLastModification`). 5. Deleted the obsolete `update_metadata.py` script. **Merge Checklist:** * [x] Delete the "Build Website - Text (Test)" GHA workflow which was added for testing purposes. **Verification:** The generated `metadata.json` file in the Glass Onion bucket no longer has any `canonicalURL` fields: <details><summary><tt>metadata.json</tt> Snippet</summary> <p> ```json [ { "authors": [ { "username": "whatsis" } ], "basedOnPapers": [], "categories": [ "Quantum Computing", "How-to" ], "dateOfLastModification": "2024-10-07T00:00:00+00:00", "dateOfPublication": "2024-10-01T00:00:00+00:00", "doi": "", "previewImages": [ { "type": "thumbnail", "uri": "/_static/demo_thumbnails/regular_demo_thumbnails/thumbnail_how_to_use_noise_models.png" }, { "type": "large_thumbnail", "uri": "/_static/demo_thumbnails/large_demo_thumbnails/thumbnail_large_how_to_use_noise_models.png" } ], "referencedByPapers": [], "references": [], "relatedContent": [ { "id": "tutorial_noisy_circuits", "type": "demonstration", "weight": 1 } ], "seoDescription": "Learn how noise models can be built and inserted into a quantum circuit in PennyLane.", "slug": "tutorial_how_to_use_noise_models", "tags": [], "title": "How to use noise models in PennyLane" }, ... ] ``` </p> </details>
Configuration menu - View commit details
-
Copy full SHA for a87a0ae - Browse repository at this point
Copy the full SHA a87a0aeView commit details
Commits on Oct 9, 2024
-
Demo on " Constant-depth preparation of matrix product states with dy…
…namic circuits" (#1185) **Title:** Constant-depth preparation of matrix product states with dynamic circuits **Summary:** Matrix product states (MPS) form an important class of quantum many-body states. Preparing them is an important subroutine for any algorithm that want to use MPS as an initial state, for example. A recent paper, on which this demo is based, and which it is following closely, generalized a method that reduces the depth of such a preparation circuit to constant scaling, by using auxiliary qubits and dynamic quantum circuits (mid-circuit measurements together with classical feedforward). We here focus on the simplest scenario in the main text of the paper, and implement a simple example in code. The implemented MPS has a parameter controlling the correlation length of the prepared state, which we verify explicitly. **Relevant references:** https://arxiv.org/pdf/2404.16083 https://arxiv.org/pdf/quant-ph/0501096 https://journals.aps.org/prxquantum/pdf/10.1103/PRXQuantum.4.020315 **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? Mid-circuit measurements recently are/were a focus point in PennyLane. MPS states are used in some quantum chemistry algorithms as initial state. * AUDIENCE — Who is this for? Researchers in quantum algorithms * KEYWORDS — What words should be included in the marketing post? TBD * Which of the following types of documentation is most similar to your file? (more details [here](https://www.notion.so/xanaduai/Different-kinds-of-documentation-69200645fe59442991c71f9e7d8a77f8)) - [ ] Tutorial - [x] Demo - [ ] How-to [sc-64275] --------- Co-authored-by: Korbinian Kottmann <[email protected]> Co-authored-by: Ivana Kurečić <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for acd1f70 - Browse repository at this point
Copy the full SHA acd1f70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7982b7a - Browse repository at this point
Copy the full SHA 7982b7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f8349 - Browse repository at this point
Copy the full SHA 47f8349View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.