-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fa/BBas2BGA
- Loading branch information
Showing
27 changed files
with
814 additions
and
166 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "QuantumClifford" | ||
uuid = "0525e862-1e90-11e9-3e4d-1b39d7109de1" | ||
authors = ["Stefan Krastanov <[email protected]> and QuantumSavory community members"] | ||
version = "0.9.12" | ||
version = "0.9.14" | ||
|
||
[deps] | ||
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" | ||
|
@@ -50,7 +50,7 @@ DocStringExtensions = "0.9" | |
Graphs = "1.9" | ||
Hecke = "0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34" | ||
HostCPUFeatures = "0.1.6" | ||
ILog2 = "0.2.3" | ||
ILog2 = "0.2.3, 1, 2" | ||
InteractiveUtils = "1.9" | ||
LDPCDecoders = "0.3.1" | ||
LinearAlgebra = "1.9" | ||
|
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
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
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
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
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
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
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,15 @@ | ||
""" | ||
Checks the commutation relation between the left and right representation matrices | ||
for two randomly-sampled elements `a` and `b` in the group algebra `ℱ[G]` with a general group `G`. | ||
It verifies the commutation relation that states, `L(a)·R(b) = R(b)·L(a)`. This | ||
property shows that matrices from the left and right representation sets commute | ||
with each other, which is an important property related to the CSS orthogonality | ||
condition. | ||
""" | ||
function check_repr_commutation_relation(GA::GroupAlgebra) | ||
a, b = rand(GA), rand(GA) | ||
# Check commutation relation: L(a)R(b) = R(b)L(a) | ||
L_a = representation_matrix(a) | ||
R_b = representation_matrix(b, :right) | ||
return L_a * R_b == R_b * L_a | ||
end |
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
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
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
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
Oops, something went wrong.