-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
a87a0ae
commit acd1f70
Showing
11 changed files
with
898 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+155 KB
...mo_thumbnails/large_demo_thumbnails/thumbnail_large_constant_depth_mps_prep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+150 KB
...mo_thumbnails/opengraph_demo_thumbnails/OGthumbnail_constant_depth_mps_prep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34 KB
...c/demo_thumbnails/regular_demo_thumbnails/thumbnail_constant_depth_mps_prep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+146 KB
_static/demonstration_assets/constant_depth_mps_prep/algorithm_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.8 KB
_static/demonstration_assets/constant_depth_mps_prep/operator_pushing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+93.4 KB
_static/demonstration_assets/constant_depth_mps_prep/operator_pushing_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions
47
demonstrations/tutorial_constant_depth_mps_prep.metadata.json
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,47 @@ | ||
{ | ||
"title": "Constant-depth preparation of matrix product states with dynamic circuits", | ||
"authors": [ | ||
{ | ||
"username": "dwierichs" | ||
} | ||
], | ||
"dateOfPublication": "2024-10-09T00:00:00+00:00", | ||
"dateOfLastModification": "2024-10-09T00:00:00+00:00", | ||
"categories": [ | ||
"Quantum Computing", | ||
"Algorithms" | ||
], | ||
"tags": [], | ||
"previewImages": [ | ||
{ | ||
"type": "thumbnail", | ||
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/thumbnail_constant_depth_mps_prep.png" | ||
}, | ||
{ | ||
"type": "large_thumbnail", | ||
"uri": "/_static/demo_thumbnails/large_demo_thumbnails/thumbnail_large_constant_depth_mps_prep.png" | ||
} | ||
], | ||
"seoDescription": "Prepare a matrix product state (MPS) in constant depth with mid-circuit measurements and feedforward control.", | ||
"doi": "", | ||
"references": [], | ||
"basedOnPapers": ["10.48550/arXiv.2404.16083"], | ||
"referencedByPapers": [], | ||
"relatedContent": [ | ||
{ | ||
"type": "demonstration", | ||
"id": "tutorial_mcm_introduction", | ||
"weight": 1.0 | ||
}, | ||
{ | ||
"type": "demonstration", | ||
"id": "tutorial_mps", | ||
"weight": 1.0 | ||
}, | ||
{ | ||
"type": "demonstration", | ||
"id": "tutorial_tn_circuits", | ||
"weight": 1.0 | ||
} | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.