diff --git a/abp/viz.py b/abp/viz.py index fb38462..5efa0f9 100644 --- a/abp/viz.py +++ b/abp/viz.py @@ -1,6 +1,6 @@ import networkx as nx from matplotlib import pyplot as plt -import tables +import clifford import numpy as np from graph import GraphState diff --git a/tests/test_graph.py b/tests/test_graph.py index b5f6e4a..d761062 100644 --- a/tests/test_graph.py +++ b/tests/test_graph.py @@ -1,5 +1,5 @@ from abp.graph import GraphState -import abp.tables as tables +from abp import clifford import time diff --git a/tests/test_normalize_global_phase.py b/tests/test_normalize_global_phase.py index b1e8d2e..fcb7c36 100644 --- a/tests/test_normalize_global_phase.py +++ b/tests/test_normalize_global_phase.py @@ -1,4 +1,4 @@ -from abp import make_tables +from abp import clifford from abp import qi import numpy as np @@ -7,5 +7,5 @@ def test_normalize_global_phase(): u = qi.pz phase = np.random.uniform(0, 2*np.pi) m = np.exp(1j*phase) * u - normalized = make_tables.normalize_global_phase(m) + normalized = clifford.normalize_global_phase(m) assert np.allclose(normalized, u)