Browse Source

Found something

master
Pete Shadbolt 8 years ago
parent
commit
7b4e4b42b5
2 changed files with 4 additions and 3 deletions
  1. +1
    -1
      abp/clifford.py
  2. +3
    -2
      tests/test_against_anders_and_briegel.py

+ 1
- 1
abp/clifford.py View File

@@ -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 View File

@@ -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…
Cancel
Save