The representation layer, hidden layer and output layer neuron models of quantum convolution neural network were designed. Modified linear activation function Relu was used as the activation function, and the quantum rotation angle and neural connection weight were optimized by training error function. The simulation results of eight kinds of micro parts show that the recognition accuracy of quantum convolution neural network algorithm is higher, the time consumption is less and the recognition effect is better than other algorithms.