A collection of small scripts.
Converting matrix representation of Bell inequalities to vector form. This deals with Bell inequalities from this website. To see usage options use:
python matrix_to_vector_representation.py -h
If you have two files with inequalities for one polytope, you can use this script to merge both files. You need to give both input files and an output file as arguments.
Calculates the characteristics of a Bell polytope. You need to give number of inputs and outputs.