Right now in the simulation states are generated: '0', '1', '+' and '-' in rectilinear and diagonal basis, respectively. While it makes sense for demonstrator and is an example of how the states might be represented in algebraic form for general purposes, i.e. working with multiple different protocols, in the current version fo the package using states and measuring them is redundant. For the purposes of working with BB84 it will simplify the code and speed up computations, if no strings for states are used and worked with. Only lists & dicts of bits and basis encoded as ints should be used.
Right now in the simulation states are generated: '0', '1', '+' and '-' in rectilinear and diagonal basis, respectively. While it makes sense for demonstrator and is an example of how the states might be represented in algebraic form for general purposes, i.e. working with multiple different protocols, in the current version fo the package using states and measuring them is redundant. For the purposes of working with BB84 it will simplify the code and speed up computations, if no strings for states are used and worked with. Only lists & dicts of bits and basis encoded as ints should be used.