@@ -0,0 +1,883 @@
+# -*- coding: utf-8 -*-%0A%22%22%22%0ACreated on Thu May  5 14:50:51 2016%0A%0A@author: %D0%90%D0%BB%D0%B5%D0%BD%D0%B0%0A%22%22%22%0Aimport numpy as np%0Aimport math%0Aclass Particle:%0A    def __init__(self,n_bas,n_pol):%0A        self.set_numberbas=n_bas%0A        self.set_numberpol=n_pol%0Aqubit=Particle(2,4)%0Aprint(qubit.set_numberbas,qubit.set_numberpol)%0A    #def Bas(self,n):%0A       # self.set_bas=n%0A   # def set_Poll(self,bas1_pol1,bas1_pol2,bas2_pol3,bas2_pol4,bas3_pol5,bas3_pol6):%0A      #  i=0%0A      #  while i%3C=lenght:%0A         #   if Alisa%5Bi%5D==0:%0A           #     Pol=np.random.choise(%5B0,90%5D)%0A                %0A%0Aclass Generator:%0A    def __init__(self,lenght,n_bas,n_pol):%0A        self.lenght_string=lenght%0A    def rand_bas(self,number,lenght):%0A       # global lenght%0A        self.stroka=lenght%0A        self.Alisa=np.random.randint(0,number,lenght)%0A#Alisabas=Particle()%0A#Alisabas.rand_bas(2,10)%0A#print(Alisabas.stroka,Alisabas.Alisa)

true option