old/python/main.py
def Rz(self, theta):
        """
        Returns R(theta) gate, or rotation matrix
        """
        return np.matrix([[exp(-1j * theta /2.0), 0],[0, exp(1j * theta/ 2.0)]])
        #TODO Kron the Rz theta gate with theta (n x n) input
        # Find a more efficient method

        Returns R(theta) gate, or rotation matrix
        
Returns R(theta) gate, or rotation matrix
Returns R ( theta ) gate or rotation matrix
def Rz(self, theta):
        return np.matrix([[exp(-1j * theta /2.0), 0],[0, exp(1j * theta/ 2.0)]])
def Rz ( self , theta ) : return np . matrix ( [ [ exp ( - 1j * theta / 2.0 ) , 0 ] , [ 0 , exp ( 1j * theta / 2.0 ) ] ] )
Returns R(theta) gate, or rotation matrix
Returns R ( theta ) gate or rotation matrix
"""
        Returns R(theta) gate, or rotation matrix
        """ #TODO Kron the Rz theta gate with theta (n x n) input # Find a more efficient method
self
theta