diff --git a/README.md b/README.md index 04a73f26..f5e1dccf 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,20 @@ your@user:~$ git clone --depth 1 --releases ``` * The code will be downloaded to the terminal directory +## Repository structure: Pre alpha and Alpha gaps + +The repository contains code for the pre alpha and the alpha prototype. For the former, a task consisting of true/false sentence classification was implemented, and +it can be found under the ´pre_alpha´ folder, along with example jupyter notebooks showing the training pipeline. +For the latter, some research was made about hybrid quantum-classical algorithms and how quantum could fit in more complex NLP algorithm architectures. This lead to +creating what XanaduAI calls Dressed Quantm Circuits. For this purpose, pretrained classical models are used as preprocessing layers in a transfer learning fashion. +We wanted to implement Neural Networks able to transform pretrained word vectors into usable lower dimensional vectors acting as the parameters for the rotations of +variational quantum circuits. A first iteration (WIP) of this approach can be found under the folder ´alpha´. A Juyter Notebook can be found where context dependant BERT vectors +are retrieved for the words in a sentence, and a neural network reduce the dimensionality of the parameters to encode the sentence as a DisCoCat circuit. + ## Jupyter notebooks -The `misc/notebooks` directory contains examples demonstrating how the quantum +An example of the pre-alpha implementation is found in `my_lib/alpha/DressedQuantumCircuit` directory, and more examples for the pre-alpha are located in ``my_lib/pre_alpha/notebooks` containing examples demonstrating how the quantum and classical NLP modules are used to solve NLP-related problems (currently – a sentence classification task). @@ -29,9 +39,11 @@ The instructions below describe the steps to set up an environment for the the project's root. The steps for setting up an environement for the **classical NLP module** are identical except for the fact that a different requirements file – -[./misc/notebooks/classical/requirements.txt](./misc/notebooks/classical/requirements.txt) +[./my_lib/pre_alpha/notebooks/classical/requirements.txt](./my_lib/pre_alpha/notebooks/classical/requirements.txt) – should be used. +An additional [./my_lib/alpha/DressedQuantumCircuit/requirements.txt](./requirements.txt) needs to be installed to run the Notebook for the Alpha protoype demonstration. + #### Dependencies We recommend using `virtualenv` or `anaconda` to create an isolated environment for the project's dependencies. Here are instructions for `virtualenv`. @@ -73,7 +85,7 @@ python -m spacy download en_core_web_lg ### Running To run the the notebooks, start jupyter lab and navigate to the notebooks in -[misc/notebooks/](./misc/notebooks/) +[my_lib/pre_alpha/notebooks/](./my_lib/pre_alpha/notebooks/) ```sh # Make sure the virtual environement is activated @@ -86,7 +98,7 @@ jupyter-lab ### More information Some more information about the notebooks is provided in -[misc/notebooks/README.md](./misc/notebooks/README.md) +[my_lib/pre_alpha/notebooks/README.md](./my_lib/pre_alpha/notebooks/README.md) ## Generating the animal dataset Manual dataset generation isn't necessary for running the Jupyter notebooks. @@ -96,7 +108,7 @@ using the following commands. Run ```sh # Choose a seed number, e.g, 1337, to deterministically randomize the sentence order -./my_lib/src/DataPreparation/gen_animal_dataset.py --seed 1337 > outfile +./my_lib/pre_alpha/src/DataPreparation/gen_animal_dataset.py --seed 1337 > outfile ``` to generate a tab-separated file containing lines of the form `\t\t` where `` is 1 if the sentence states a diff --git a/misc/notebooks/DressedQuantumCircuit/Attention.png b/my_lib/Alpha/DressedQuantumCircuit/Attention.png similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/Attention.png rename to my_lib/Alpha/DressedQuantumCircuit/Attention.png diff --git a/misc/notebooks/DressedQuantumCircuit/Dressed_QNLP_demo.ipynb b/my_lib/Alpha/DressedQuantumCircuit/Dressed_QNLP_demo.ipynb similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/Dressed_QNLP_demo.ipynb rename to my_lib/Alpha/DressedQuantumCircuit/Dressed_QNLP_demo.ipynb diff --git a/misc/notebooks/DressedQuantumCircuit/Processing text data with quantum computers webinar .pptx b/my_lib/Alpha/DressedQuantumCircuit/Processing text data with quantum computers webinar .pptx similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/Processing text data with quantum computers webinar .pptx rename to my_lib/Alpha/DressedQuantumCircuit/Processing text data with quantum computers webinar .pptx diff --git a/misc/notebooks/DressedQuantumCircuit/QNLP_arch.png b/my_lib/Alpha/DressedQuantumCircuit/QNLP_arch.png similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/QNLP_arch.png rename to my_lib/Alpha/DressedQuantumCircuit/QNLP_arch.png diff --git a/misc/notebooks/DressedQuantumCircuit/Readme.md b/my_lib/Alpha/DressedQuantumCircuit/Readme.md similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/Readme.md rename to my_lib/Alpha/DressedQuantumCircuit/Readme.md diff --git a/misc/notebooks/DressedQuantumCircuit/Transformer.png b/my_lib/Alpha/DressedQuantumCircuit/Transformer.png similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/Transformer.png rename to my_lib/Alpha/DressedQuantumCircuit/Transformer.png diff --git a/misc/notebooks/DressedQuantumCircuit/dressed diagram.png b/my_lib/Alpha/DressedQuantumCircuit/dressed diagram.png similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/dressed diagram.png rename to my_lib/Alpha/DressedQuantumCircuit/dressed diagram.png diff --git a/misc/notebooks/DressedQuantumCircuit/requirements.txt b/my_lib/Alpha/DressedQuantumCircuit/requirements.txt similarity index 100% rename from misc/notebooks/DressedQuantumCircuit/requirements.txt rename to my_lib/Alpha/DressedQuantumCircuit/requirements.txt diff --git a/my_lib/.DS_Store b/my_lib/Pre_alpha/.DS_Store similarity index 100% rename from my_lib/.DS_Store rename to my_lib/Pre_alpha/.DS_Store diff --git a/my_lib/__init__.py b/my_lib/Pre_alpha/__init__.py similarity index 100% rename from my_lib/__init__.py rename to my_lib/Pre_alpha/__init__.py diff --git a/misc/notebooks/.DS_Store b/my_lib/Pre_alpha/notebooks/.DS_Store similarity index 100% rename from misc/notebooks/.DS_Store rename to my_lib/Pre_alpha/notebooks/.DS_Store diff --git a/misc/notebooks/.ipynb_checkpoints/Dataset_example-checkpoint.ipynb b/my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/Dataset_example-checkpoint.ipynb similarity index 100% rename from misc/notebooks/.ipynb_checkpoints/Dataset_example-checkpoint.ipynb rename to my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/Dataset_example-checkpoint.ipynb diff --git a/misc/notebooks/.ipynb_checkpoints/README-checkpoint.md b/my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/README-checkpoint.md similarity index 100% rename from misc/notebooks/.ipynb_checkpoints/README-checkpoint.md rename to my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/README-checkpoint.md diff --git a/misc/notebooks/.ipynb_checkpoints/SentenceAnsatz-checkpoint.png b/my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/SentenceAnsatz-checkpoint.png similarity index 100% rename from misc/notebooks/.ipynb_checkpoints/SentenceAnsatz-checkpoint.png rename to my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/SentenceAnsatz-checkpoint.png diff --git a/misc/notebooks/.ipynb_checkpoints/Single_sentence_example-checkpoint.ipynb b/my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/Single_sentence_example-checkpoint.ipynb similarity index 100% rename from misc/notebooks/.ipynb_checkpoints/Single_sentence_example-checkpoint.ipynb rename to my_lib/Pre_alpha/notebooks/.ipynb_checkpoints/Single_sentence_example-checkpoint.ipynb diff --git a/misc/notebooks/Dataset_example.ipynb b/my_lib/Pre_alpha/notebooks/Dataset_example.ipynb similarity index 100% rename from misc/notebooks/Dataset_example.ipynb rename to my_lib/Pre_alpha/notebooks/Dataset_example.ipynb diff --git a/misc/notebooks/README.md b/my_lib/Pre_alpha/notebooks/README.md similarity index 100% rename from misc/notebooks/README.md rename to my_lib/Pre_alpha/notebooks/README.md diff --git a/misc/notebooks/SentenceAnsatz.png b/my_lib/Pre_alpha/notebooks/SentenceAnsatz.png similarity index 100% rename from misc/notebooks/SentenceAnsatz.png rename to my_lib/Pre_alpha/notebooks/SentenceAnsatz.png diff --git a/misc/notebooks/Single_sentence_example.ipynb b/my_lib/Pre_alpha/notebooks/Single_sentence_example.ipynb similarity index 100% rename from misc/notebooks/Single_sentence_example.ipynb rename to my_lib/Pre_alpha/notebooks/Single_sentence_example.ipynb diff --git a/misc/notebooks/classical/Classical_classifiers.ipynb b/my_lib/Pre_alpha/notebooks/classical/Classical_classifiers.ipynb similarity index 100% rename from misc/notebooks/classical/Classical_classifiers.ipynb rename to my_lib/Pre_alpha/notebooks/classical/Classical_classifiers.ipynb diff --git a/misc/notebooks/classical/requirements.txt b/my_lib/Pre_alpha/notebooks/classical/requirements.txt similarity index 100% rename from misc/notebooks/classical/requirements.txt rename to my_lib/Pre_alpha/notebooks/classical/requirements.txt diff --git a/my_lib/src/.DS_Store b/my_lib/Pre_alpha/src/.DS_Store similarity index 100% rename from my_lib/src/.DS_Store rename to my_lib/Pre_alpha/src/.DS_Store diff --git a/my_lib/src/ClassicalNLP/.gitignore b/my_lib/Pre_alpha/src/ClassicalNLP/.gitignore similarity index 100% rename from my_lib/src/ClassicalNLP/.gitignore rename to my_lib/Pre_alpha/src/ClassicalNLP/.gitignore diff --git a/my_lib/src/ClassicalNLP/Classifier/NNClassifier.py b/my_lib/Pre_alpha/src/ClassicalNLP/Classifier/NNClassifier.py similarity index 100% rename from my_lib/src/ClassicalNLP/Classifier/NNClassifier.py rename to my_lib/Pre_alpha/src/ClassicalNLP/Classifier/NNClassifier.py diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/.dockerignore b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/.dockerignore similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/.dockerignore rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/.dockerignore diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/Dockerfile b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/Dockerfile similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/Dockerfile rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/Dockerfile diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/requirements.txt b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/requirements.txt similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/requirements.txt rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/requirements.txt diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/src/BertVectorizer.py b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/src/BertVectorizer.py similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/BertVectorizer/src/BertVectorizer.py rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/BertVectorizer/src/BertVectorizer.py diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/DatasetVectorizer.py b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/DatasetVectorizer.py similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/DatasetVectorizer.py rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/DatasetVectorizer.py diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/VectorizerConnector.py b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/VectorizerConnector.py similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/VectorizerConnector.py rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/DatasetVectorizer/VectorizerConnector.py diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/.dockerignore b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/.dockerignore similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/.dockerignore rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/.dockerignore diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/Dockerfile b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/Dockerfile similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/Dockerfile rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/Dockerfile diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/requirements.txt b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/requirements.txt similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/requirements.txt rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/requirements.txt diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/src/FastTextVectorizer.py b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/src/FastTextVectorizer.py similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/src/FastTextVectorizer.py rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/FastTextVectorizer/src/FastTextVectorizer.py diff --git a/my_lib/src/ClassicalNLP/DataVectorizer/README.md b/my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/README.md similarity index 100% rename from my_lib/src/ClassicalNLP/DataVectorizer/README.md rename to my_lib/Pre_alpha/src/ClassicalNLP/DataVectorizer/README.md diff --git a/my_lib/src/ClassicalNLP/Datasets/dataset_vectorized_bert_cased.json b/my_lib/Pre_alpha/src/ClassicalNLP/Datasets/dataset_vectorized_bert_cased.json similarity index 100% rename from my_lib/src/ClassicalNLP/Datasets/dataset_vectorized_bert_cased.json rename to my_lib/Pre_alpha/src/ClassicalNLP/Datasets/dataset_vectorized_bert_cased.json diff --git a/my_lib/src/ClassicalNLP/Datasets/dataset_vectorized_bert_uncased.json b/my_lib/Pre_alpha/src/ClassicalNLP/Datasets/dataset_vectorized_bert_uncased.json similarity index 100% rename from my_lib/src/ClassicalNLP/Datasets/dataset_vectorized_bert_uncased.json rename to my_lib/Pre_alpha/src/ClassicalNLP/Datasets/dataset_vectorized_bert_uncased.json diff --git a/my_lib/src/ClassicalNLP/Datasets/dataset_vectorized_fasttext.json b/my_lib/Pre_alpha/src/ClassicalNLP/Datasets/dataset_vectorized_fasttext.json similarity index 100% rename from my_lib/src/ClassicalNLP/Datasets/dataset_vectorized_fasttext.json rename to my_lib/Pre_alpha/src/ClassicalNLP/Datasets/dataset_vectorized_fasttext.json diff --git a/my_lib/src/ClassicalNLP/README.md b/my_lib/Pre_alpha/src/ClassicalNLP/README.md similarity index 100% rename from my_lib/src/ClassicalNLP/README.md rename to my_lib/Pre_alpha/src/ClassicalNLP/README.md diff --git a/my_lib/src/DataPreparation/README.md b/my_lib/Pre_alpha/src/DataPreparation/README.md similarity index 100% rename from my_lib/src/DataPreparation/README.md rename to my_lib/Pre_alpha/src/DataPreparation/README.md diff --git a/my_lib/src/DataPreparation/gen_animal_dataset.py b/my_lib/Pre_alpha/src/DataPreparation/gen_animal_dataset.py old mode 100755 new mode 100644 similarity index 100% rename from my_lib/src/DataPreparation/gen_animal_dataset.py rename to my_lib/Pre_alpha/src/DataPreparation/gen_animal_dataset.py diff --git a/my_lib/src/DataPreparation/gen_train_test_split_json.py b/my_lib/Pre_alpha/src/DataPreparation/gen_train_test_split_json.py old mode 100755 new mode 100644 similarity index 100% rename from my_lib/src/DataPreparation/gen_train_test_split_json.py rename to my_lib/Pre_alpha/src/DataPreparation/gen_train_test_split_json.py diff --git a/my_lib/src/Quantum/.DS_Store b/my_lib/Pre_alpha/src/Quantum/.DS_Store similarity index 100% rename from my_lib/src/Quantum/.DS_Store rename to my_lib/Pre_alpha/src/Quantum/.DS_Store diff --git a/my_lib/src/Quantum/.ipynb_checkpoints/optimizer-checkpoint.py b/my_lib/Pre_alpha/src/Quantum/.ipynb_checkpoints/optimizer-checkpoint.py similarity index 100% rename from my_lib/src/Quantum/.ipynb_checkpoints/optimizer-checkpoint.py rename to my_lib/Pre_alpha/src/Quantum/.ipynb_checkpoints/optimizer-checkpoint.py diff --git a/my_lib/src/Quantum/Circuit.py b/my_lib/Pre_alpha/src/Quantum/Circuit.py similarity index 100% rename from my_lib/src/Quantum/Circuit.py rename to my_lib/Pre_alpha/src/Quantum/Circuit.py diff --git a/my_lib/src/Quantum/Datasets/.DS_Store b/my_lib/Pre_alpha/src/Quantum/Datasets/.DS_Store similarity index 100% rename from my_lib/src/Quantum/Datasets/.DS_Store rename to my_lib/Pre_alpha/src/Quantum/Datasets/.DS_Store diff --git a/my_lib/src/Quantum/Datasets/.ipynb_checkpoints/Complete_dataset-checkpoint.json b/my_lib/Pre_alpha/src/Quantum/Datasets/.ipynb_checkpoints/Complete_dataset-checkpoint.json similarity index 100% rename from my_lib/src/Quantum/Datasets/.ipynb_checkpoints/Complete_dataset-checkpoint.json rename to my_lib/Pre_alpha/src/Quantum/Datasets/.ipynb_checkpoints/Complete_dataset-checkpoint.json diff --git a/my_lib/src/Quantum/Datasets/.ipynb_checkpoints/Expanded_Transitive_dataset-checkpoint.json b/my_lib/Pre_alpha/src/Quantum/Datasets/.ipynb_checkpoints/Expanded_Transitive_dataset-checkpoint.json similarity index 100% rename from my_lib/src/Quantum/Datasets/.ipynb_checkpoints/Expanded_Transitive_dataset-checkpoint.json rename to my_lib/Pre_alpha/src/Quantum/Datasets/.ipynb_checkpoints/Expanded_Transitive_dataset-checkpoint.json diff --git a/my_lib/src/Quantum/Datasets/Complete_dataset.json b/my_lib/Pre_alpha/src/Quantum/Datasets/Complete_dataset.json similarity index 100% rename from my_lib/src/Quantum/Datasets/Complete_dataset.json rename to my_lib/Pre_alpha/src/Quantum/Datasets/Complete_dataset.json diff --git a/my_lib/src/Quantum/Datasets/Expanded_Transitive_dataset.json b/my_lib/Pre_alpha/src/Quantum/Datasets/Expanded_Transitive_dataset.json similarity index 100% rename from my_lib/src/Quantum/Datasets/Expanded_Transitive_dataset.json rename to my_lib/Pre_alpha/src/Quantum/Datasets/Expanded_Transitive_dataset.json diff --git a/my_lib/src/Quantum/Datasets/Reduced_words_complete_dataset.json b/my_lib/Pre_alpha/src/Quantum/Datasets/Reduced_words_complete_dataset.json similarity index 100% rename from my_lib/src/Quantum/Datasets/Reduced_words_complete_dataset.json rename to my_lib/Pre_alpha/src/Quantum/Datasets/Reduced_words_complete_dataset.json diff --git a/my_lib/src/Quantum/Datasets/Reduced_words_transitive_dataset.json b/my_lib/Pre_alpha/src/Quantum/Datasets/Reduced_words_transitive_dataset.json similarity index 100% rename from my_lib/src/Quantum/Datasets/Reduced_words_transitive_dataset.json rename to my_lib/Pre_alpha/src/Quantum/Datasets/Reduced_words_transitive_dataset.json diff --git a/my_lib/src/Quantum/Optimizer.py b/my_lib/Pre_alpha/src/Quantum/Optimizer.py similarity index 100% rename from my_lib/src/Quantum/Optimizer.py rename to my_lib/Pre_alpha/src/Quantum/Optimizer.py diff --git a/my_lib/src/Quantum/README.md b/my_lib/Pre_alpha/src/Quantum/README.md similarity index 100% rename from my_lib/src/Quantum/README.md rename to my_lib/Pre_alpha/src/Quantum/README.md diff --git a/my_lib/src/Quantum/__pycache__/circuit.cpython-38.pyc b/my_lib/Pre_alpha/src/Quantum/__pycache__/circuit.cpython-38.pyc similarity index 100% rename from my_lib/src/Quantum/__pycache__/circuit.cpython-38.pyc rename to my_lib/Pre_alpha/src/Quantum/__pycache__/circuit.cpython-38.pyc diff --git a/my_lib/src/Quantum/__pycache__/dictionary.cpython-38.pyc b/my_lib/Pre_alpha/src/Quantum/__pycache__/dictionary.cpython-38.pyc similarity index 100% rename from my_lib/src/Quantum/__pycache__/dictionary.cpython-38.pyc rename to my_lib/Pre_alpha/src/Quantum/__pycache__/dictionary.cpython-38.pyc diff --git a/my_lib/src/Quantum/__pycache__/loader.cpython-38.pyc b/my_lib/Pre_alpha/src/Quantum/__pycache__/loader.cpython-38.pyc similarity index 100% rename from my_lib/src/Quantum/__pycache__/loader.cpython-38.pyc rename to my_lib/Pre_alpha/src/Quantum/__pycache__/loader.cpython-38.pyc diff --git a/my_lib/src/Quantum/__pycache__/optimizer.cpython-38.pyc b/my_lib/Pre_alpha/src/Quantum/__pycache__/optimizer.cpython-38.pyc similarity index 100% rename from my_lib/src/Quantum/__pycache__/optimizer.cpython-38.pyc rename to my_lib/Pre_alpha/src/Quantum/__pycache__/optimizer.cpython-38.pyc diff --git a/my_lib/src/Quantum/__pycache__/sentence.cpython-38.pyc b/my_lib/Pre_alpha/src/Quantum/__pycache__/sentence.cpython-38.pyc similarity index 100% rename from my_lib/src/Quantum/__pycache__/sentence.cpython-38.pyc rename to my_lib/Pre_alpha/src/Quantum/__pycache__/sentence.cpython-38.pyc diff --git a/my_lib/src/Quantum/dictionary.py b/my_lib/Pre_alpha/src/Quantum/dictionary.py similarity index 100% rename from my_lib/src/Quantum/dictionary.py rename to my_lib/Pre_alpha/src/Quantum/dictionary.py diff --git a/my_lib/src/Quantum/loader.py b/my_lib/Pre_alpha/src/Quantum/loader.py similarity index 100% rename from my_lib/src/Quantum/loader.py rename to my_lib/Pre_alpha/src/Quantum/loader.py diff --git a/my_lib/src/Quantum/sentence.py b/my_lib/Pre_alpha/src/Quantum/sentence.py similarity index 100% rename from my_lib/src/Quantum/sentence.py rename to my_lib/Pre_alpha/src/Quantum/sentence.py diff --git a/my_lib/test_my_lib.py b/my_lib/Pre_alpha/test_my_lib.py similarity index 100% rename from my_lib/test_my_lib.py rename to my_lib/Pre_alpha/test_my_lib.py diff --git a/tests/.DS_Store b/tests/.DS_Store deleted file mode 100644 index 93da6e17..00000000 Binary files a/tests/.DS_Store and /dev/null differ diff --git a/tests/benchmarking/README.md b/tests/benchmarking/README.md deleted file mode 100644 index eb826cf3..00000000 --- a/tests/benchmarking/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Benchmarking - -Benchmarking methodology and .JSON tests following D3.2 guidelines \ No newline at end of file diff --git a/tests/test_my_lib.py b/tests/test_my_lib.py deleted file mode 100644 index ac8d2ef9..00000000 --- a/tests/test_my_lib.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding : utf-8 -*- - -""" -Test for this module -""" - - -from my_lib import some_function, MyClass - - -class TestMyClass: - """ - Testing MyClass - """ - - def test_instantiation(self): - """ - Testing the constructor - """ - MyClass(1, 1, 2) - MyClass() - - -def test_some_fucntion(): - """ - Testing some_function - """ - assert 4 == some_function(2) diff --git a/tests/unit tests/README.md b/tests/unit tests/README.md deleted file mode 100644 index e038820e..00000000 --- a/tests/unit tests/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Unit tests - -A set of tests to ensure the proper functioning of modules. \ No newline at end of file