Abstract Quantum computing is being explored to tackle complex problems, such as image processing in this specific case. The ability of qubits to exist in multiple states at once and take advantage of quantum phenomena such as superposition and entanglement could have significant applications in a variety of fields, including image processing. Understandably, at this early stage in the development of quantum computing, quantum algorithms are not yet as efficient as classical algorithms for certain tasks. However, as quantum technology advances and becomes more accessible, we are likely to see significant improvements in terms of efficiency and problem-solving capabilities. The use of quantum computing to process images and detect specific features, such as the body contour of sheep for weight assessment or disease detection, has the potential to be a valuable tool in the agriculture and livestock industry. In this paper, we present the results of a quantum edge detector by analysing how the resolution affects the image result. Thus, a quantum edge detection model is implemented in the quantum simulator to analyse the edge recovery capability of an image as a function of the number of pixels in order to test the efficiency of quantum computers for image processing. The experiment results illustrate that edge detection times using quantum algorithms exceed 9000 seconds on 128x128 pixel images. Although the results are worse than those obtained using classical image processing models, they are promising since a resolution of 64 64 or 128 128 is precise enough to determine the body contour of the sheep and can be executed in a quantum simulator. With the evolution of quantum computers, we are approaching the possibility of being able to use them for image processing tasks.
Bajo et al. (2025) studied this question.