Code associated to the Graduate Thesis "Simulation and study of the complexity of states in discrete Quantum Computing". ETSISI School of Computer Science & Engineering, Polytechnic University of Madrid (UPM), Madrid.