Browse Source

Fixing naming of local cliffords

master
Pete Shadbolt 8 years ago
parent
commit
9e92c633f8
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      abp/clifford.py

+ 13
- 0
abp/clifford.py View File

@@ -17,6 +17,19 @@ decompositions = ("xxxx", "xx", "zzxx", "zz", "zxx", "z", "zzz", "xxz",
"xzx", "xzxxx", "xzzzx", "xxxzx", "xzz", "zzx", "xxx", "x", "xzx", "xzxxx", "xzzzx", "xxxzx", "xzz", "zzx", "xxx", "x",
"zzzx", "xxzx", "zx", "zxxx", "xxxz", "xzzz", "xz", "xzxx") "zzzx", "xxzx", "zx", "zxxx", "xxxz", "xzzz", "xz", "xzxx")


#{"UUUU", "UU", "VVUU", "VV",
#"VUU", "V", "VVV", "UUV",
#"UVU", "UVUUU", "UVVVU", "UUUVU",
#"UVV", "VVU", "UUU", "U",
#"VVVU", "UUVU", "VU", "VUUU",
#"UUUV", "UVVV", "UV", "UVUU"};

#string LocCliffOp::get_name (void) const
#{
#static const char* paulinames[] = {"I", "X", "Y", "Z"};
#return string (paulinames[op & 0x03]) + (char) ('A' + op / 4);
#}

ab_names = {0: "IA"} ab_names = {0: "IA"}






Loading…
Cancel
Save