Bladeren bron

Found something

master
Pete Shadbolt 8 jaren geleden
bovenliggende
commit
7b4e4b42b5
2 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. +1
    -1
      abp/clifford.py
  2. +3
    -2
      tests/test_against_anders_and_briegel.py

+ 1
- 1
abp/clifford.py Bestand weergeven

@@ -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 Bestand weergeven

@@ -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)



Laden…
Annuleren
Opslaan