-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
553 additions
and
13 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
pytheus/graphs/HighlyEntangledStates/ghz_asym446/changes.md
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,53 @@ | ||
Starting from the original graph: | ||
``` | ||
original = Graph({ # one must use the Graph class from the PyTheus library | ||
"(3, 5, 2, 0)": 0.0004883277677380273, | ||
"(0, 1, 1, 1)": 0.001051425666873128, | ||
"(1, 2, 3, 3)": 0.001067998490104688, | ||
"(0, 2, 0, 0)": -0.00450451217873684, | ||
"(1, 3, 0, 0)": 0.23292250844790044, | ||
"(4, 5, 0, 0)": -0.6034112926239387, | ||
"(2, 4, 2, 0)": 0.6549771937248401, | ||
"(0, 4, 2, 0)": 0.6648696008295439, | ||
"(1, 5, 2, 0)": 0.8981955391748329, | ||
"(1, 2, 2, 2)": 0.9749529126983252, | ||
"(0, 3, 3, 3)": -0.9823837610559265, | ||
"(0, 1, 2, 2)": 0.9896780534447832, | ||
"(2, 3, 1, 1)": -0.9978710974509947 | ||
}) | ||
``` | ||
We rescale all weights with `-1`, which leads to the same state: `original.rescale(-1)`. | ||
We rename the dimensions for the first 4 nodes. Again, it leads to the same GHZ state. | ||
``` | ||
for node in range(4): | ||
original.switchColors(node,0,2) | ||
``` | ||
We rotate the first 4 nodes. | ||
``` | ||
original.permuteNodes(0,1) | ||
original.permuteNodes(1,2) | ||
original.permuteNodes(2,3) | ||
``` | ||
Finally, we flip the signs of the edges connected to the current nodes 1, 2, and 3. | ||
``` | ||
for node in range(1,4): | ||
original.flipNode(node) | ||
``` | ||
This leads to the plotted graph: | ||
``` | ||
{ | ||
"(0, 1, 0, 0)": 0.9749529126983252, | ||
"(0, 1, 3, 3)": 0.001067998490104688, | ||
"(0, 2, 2, 2)": 0.23292250844790044, | ||
"(0, 3, 0, 0)": 0.9896780534447832, | ||
"(0, 3, 1, 1)": 0.001051425666873128, | ||
"(0, 5, 0, 0)": -0.8981955391748329, | ||
"(1, 2, 1, 1)": 0.9978710974509947, | ||
"(1, 3, 2, 2)": 0.00450451217873684, | ||
"(1, 4, 0, 0)": 0.6549771937248401, | ||
"(2, 3, 3, 3)": 0.9823837610559265, | ||
"(2, 5, 0, 0)": 0.0004883277677380273, | ||
"(3, 4, 0, 0)": 0.6648696008295439, | ||
"(4, 5, 0, 0)": 0.6034112926239387 | ||
} | ||
``` |
Binary file modified
BIN
+78.3 KB
(480%)
pytheus/graphs/HighlyEntangledStates/ghz_asym446/graph_ghz_asym446.pdf
Binary file not shown.
Oops, something went wrong.