瀏覽代碼

Found something

master
Pete Shadbolt 8 年之前
父節點
當前提交
7b4e4b42b5
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. +1
    -1
      abp/clifford.py
  2. +3
    -2
      tests/test_against_anders_and_briegel.py

+ 1
- 1
abp/clifford.py 查看文件

@@ -150,7 +150,7 @@ except IOError:
conjugation_table = get_conjugation_table(unitaries)
times_table = get_times_table(unitaries)
cz_table = get_cz_table(unitaries)
#cz_table = get_ab_cz_table()
cz_table = get_ab_cz_table()

# Write it all to disk
np.save("unitaries.npy", unitaries)


+ 3
- 2
tests/test_against_anders_and_briegel.py 查看文件

@@ -84,8 +84,8 @@ def test_1():
compare(a, b)


def _test_2():
""" TODO: This one fails at the moment """
def test_2():
""" TODO: This one fails at the moment - EVEN THOUGH I USE THEIR TABLE!! """
N=10

a = graphsim.GraphRegister(N)
@@ -108,3 +108,4 @@ def _test_2():
bb = b.adj_list()
compare(a, b)



Loading…
取消
儲存