@@ -150,7 +150,7 @@ except IOError: | |||||
conjugation_table = get_conjugation_table(unitaries) | conjugation_table = get_conjugation_table(unitaries) | ||||
times_table = get_times_table(unitaries) | times_table = get_times_table(unitaries) | ||||
cz_table = get_cz_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 | # Write it all to disk | ||||
np.save("unitaries.npy", unitaries) | np.save("unitaries.npy", unitaries) | ||||
@@ -84,8 +84,8 @@ def test_1(): | |||||
compare(a, b) | 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 | N=10 | ||||
a = graphsim.GraphRegister(N) | a = graphsim.GraphRegister(N) | ||||
@@ -108,3 +108,4 @@ def _test_2(): | |||||
bb = b.adj_list() | bb = b.adj_list() | ||||
compare(a, b) | compare(a, b) | ||||