diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..28a1b18 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: + - "2.7" + - "3.3" + - "3.5" + - "3.7-dev" # 3.7 development branch +# command to install dependencies +install: + - pip install -r requirements.txt +# command to run tests +script: + - python test.py \ No newline at end of file diff --git a/QuSim.py b/QuSim.py index 939aca8..4e005aa 100644 --- a/QuSim.py +++ b/QuSim.py @@ -1,7 +1,6 @@ from functools import reduce import numpy as np - class gates: # Store complex number i here for easy access i = np.complex(0, 1) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e446ee5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +# Library dependencies for the python code. You need to install these with +# `pip install -r requirements.txt` before you can run this. +numpy \ No newline at end of file