Quantum computing is an emerging technology that leverages quantum bits (qubits) capable of existing in superposition and entanglement to enable fundamentally new approaches to computation. Unlike classical systems that process bits through logical gates, quantum computers do not simply accelerate tasks but require specialized algorithms to exploit their unique properties for solving complex problems efficiently. While applications in agricultural science remain largely unexplored, this work demonstrates a potential use case by addressing a computer vision challenge: multi-object tracking. Specifically, we introduce a novel re-identification module formulated as a network flow optimization problem and implemented using quantum techniques to improve tracking consistency across frames.The goal of multi-object tracking is to track detected objects of interest across frames. In our case, we used YOLOv8 together with BoT-SORT to detect and track cows. State-of-the-art frameworks like BoT-SORT use the shape and expected trajectory to derive track sequences. Here, we propose a new implementation of a framework for the pair-wise comparison of tracked objects at consecutive timepoints based on the overlap between bounding boxes. Tracklets are subsequently obtained by solving an optimization problem using the Intersection over Union as the primary cost metric, this avoids relying on appearance-based features that are either not present or obscured by camera view, changing light conditions, or dust and dirt. The developed approach is available as an extension for all object trackers and is implemented for both classical and quantum hardware, as a Mixed-Integer Linear Programming (MILP) and a Quadratic Unconstrained Binary Optimization (QUBO) algorithm, respectively. On a test dataset, including 16 cows in a single barn over several video snippets of approximately three minutes, our approach outperformed BoT-SORT with default ReID on key performance metrics for detection performance and identity consistency, improving HOTA from 89.66 to 90.81, MOTA from 95.44 to 96.27, IDF1 from 95.95 to 97.40, and reducing the number of ID switches from 9 to 5. Although the quantum solution at this stage is slower than its classical counterpart, we expect long-term promises as quantum computing as a technology is still in its infancy and quantum hardware is expected to become more reliable and computationally performant in the future. This work provides a first proof-of-concept on the use of quantum computing for computer vision applications that can complement classical methods in future precision livestock monitoring systems.
Quantum computing is an emerging technology that leverages quantum bits (qubits) capable of existing in superposition and entanglement to enable fundamentally new approaches to computation. Unlike classical systems that process bits through logical gates, quantum computers do not simply accelerate tasks but require specialized algorithms to exploit their unique properties for solving complex problems efficiently. While applications in agricultural science remain largely unexplored, this work demonstrates a potential use case by addressing a computer vision challenge: multi-object tracking. Specifically, we introduce a novel re-identification module formulated as a network flow optimization problem and implemented using quantum techniques to improve tracking consistency across frames.The goal of multi-object tracking is to track detected objects of interest across frames. In our case, we used YOLOv8 together with BoT-SORT to detect and track cows. State-of-the-art frameworks like BoT-SORT use the shape and expected trajectory to derive track sequences. Here, we propose a new implementation of a framework for the pair-wise comparison of tracked objects at consecutive timepoints based on the overlap between bounding boxes. Tracklets are subsequently obtained by solving an optimization problem using the Intersection over Union as the primary cost metric, this avoids relying on appearance-based features that are either not present or obscured by camera view, changing light conditions, or dust and dirt. The developed approach is available as an extension for all object trackers and is implemented for both classical and quantum hardware, as a Mixed-Integer Linear Programming (MILP) and a Quadratic Unconstrained Binary Optimization (QUBO) algorithm, respectively. On a test dataset, including 16 cows in a single barn over several video snippets of approximately three minutes, our approach outperformed BoT-SORT with default ReID on key performance metrics for detection performance and identity consistency, improving HOTA from 89.66 to 90.81, MOTA from 95.44 to 96.27, IDF1 from 95.95 to 97.40, and reducing the number of ID switches from 9 to 5. Although the quantum solution at this stage is slower than its classical counterpart, we expect long-term promises as quantum computing as a technology is still in its infancy and quantum hardware is expected to become more reliable and computationally performant in the future. This work provides a first proof-of-concept on the use of quantum computing for computer vision applications that can complement classical methods in future precision livestock monitoring systems.
Multi-object tracking is important for modern precision livestock farming as it enables simultaneous tracking of multiple animals in complex environments (Nidhi et al., 2025). The resulting tracklets of animals can be used to continuously assess the health and welfare of the animals to use for animal management and phenotyping in animal breeding programs. In general, multi-object tracking is a computer vision task that aims to detect and track all objects of interest in a scene, be it people, tomatoes, or animals, with a consistent, unique identifier. In precision livestock farming, multi-object tracking is often approached with tracking-by-detection (Nidhi et al., 2025). Tracking-by-detection uses two algorithms, one to detect the objects of interest, such as You Only Look Once (YOLO, Jocher et al. (2023)) and one to track the detected objects of interest, such as BoT-SORT (Aharon et al., 2022). However, assigning a consistent identifier to each track is difficult due to occlusions that can occur in large groups of animals. As a result, detections can be lost and tracks may be re-initialized, or identities switched between animals. Re-identification (reID) aims to recover the lost or switched identities to maintain a consistent identity for each track. Today, most computer vision tasks run on GPU hardware. Many of these tasks, particularly identity association in multi-object tracking across multiple frames, can be formulated as combinatorial optimization problems (Cornuejols et al., 1977), which may be NP-hard in general. In this context, it is worth exploring whether quantum algorithms can deliver significant speedups over current methods (Meli et al. 2025). Quantum computing is an emerging technology that differs from traditional computing by using quantum bits (qubits) instead of bits on traditional computing hardware. Qubits reflect pieces of quantum information that may exhibit two intrinsic quantum properties: superposition, allowing them to exist in multiple states simultaneously, and entanglement, correlating qubits beyond whatis possible on conventional computers. This unique storage structure allows quantum systems to process information in ways that have no classical counterpart, enabling specialized quantum algorithms. Quantum computers are not intrinsically faster at performing the same operations, but can potentially solve the same computational problems in fewer operations – for example, Shor’s algorithm (Shor, 1994) to factor large integers exponentially faster than any classical methods, rendering current encryption schemes vulnerable once sufficiently large quantum hardware becomes available. Potential applications in life science have recently been proposed by Pook et al. (2025); however, only as a review without developing a concrete quantum algorithm. In this work, we propose a novel extension of the BoT-SORT framework to improve its integrated reID by an additional post-processing step that is based on pairwise comparison of tracked objects at consecutive time points based on the overlap between bounding boxes. Alongside an implementation on traditional hardware, we will also outline the required steps totranslate our developedoptimization problem for execution on quantum hardware and assess the overall suitability of quantum computing for livestock breeding applications.
Quantum computing (QC) is not a futuristic notion in agriculture, though its full potential has yet to be realized. QC is an emerging field at the intersection of physics and computer science that holds immense potential to revolutionize various sectors, including agriculture production and artificial intelligence (AI) modeling. While QC is still in the early stages of development and practical applications within agriculture are not yet widespread, researchers are actively exploring its potential benefits in various agricultural domains, including crop optimization, livestock breeding, and environmental monitoring. QC harnesses the principles of quantum mechanics to perform computations using quantum bits or qubits, which can exist in multiple states simultaneously. Unlike classical computers, which rely on binary bits representing 0 or 1, quantum computers exploit phenomena such as superposition and entanglement to process information in parallel, potentially offering exponential speedup for certain types of problems. In agriculture production, particularly in animal science, QC offers promising avenues for optimizing processes and enhancing productivity. Quantum algorithms can analyze vast amounts of genomic data to improve breeding programs, leading to the development of more resilient and productive livestock breeds. Furthermore, QC can facilitate precision farming techniques by modeling complex environmental factors and animal behavior to optimize feeding strategies, disease management, and overall farm management practices. Moreover, QC can significantly benefit AI modeling by accelerating computations and enabling more efficient training of AI models. Quantum algorithms can enhance the performance of AI algorithms in various tasks, including pattern recognition, natural language processing, and predictive analytics. By leveraging quantum-enhanced optimization algorithms, AI models can achieve better convergence and accuracy, leading to more effective decision-making and problem-solving capabilities. While hybrid intelligent models also represent a novel frontier in agriculture, QC has the potential to expedite the merging of mechanistic and AI modeling paradigms, facilitating a more holistic understanding of complex systems in agriculture and beyond. By integrating mechanistic models, which describe the underlying physical processes, with AI models, which learn patterns from data, quantum computing can enable comprehensive simulations and predictions of agricultural systems. This fusion of modeling paradigms can lead to more accurate and robust predictions of crop yields, livestock performance, and environmental impacts, facilitating informed decision-making for farmers and policymakers. The application of QC in agriculture, however, requires interdisciplinary collaborations between physicists, computer scientists, agronomists/animal scientists, and AI researchers. These collaborations can drive the development of quantum algorithms tailored to agricultural applications, the integration of quantum-enhanced AI techniques into existing modeling frameworks, and the deployment of QC resources in real-world agricultural systems. Ultimately, harnessing the power of QC holds the potential to revolutionize agriculture production practices, including regenerative agriculture, and advance AI modeling capabilities, paving the way for a more sustainable and efficient agricultural industry.
This study explores the application of quantum annealing (QA) and reverse annealing (RA) to enhance the efficiency and accuracy of Multiple Object Tracking (MOT), a critical task in image recognition with wide-ranging real-time applications. MOT is particularly valuable in scenarios with high object density and frequent occlusions, such as traffic flow measurement, collision avoidance for autonomous systems, and industrial quality control. Traditional MOT methods, often modeled as combinatorial optimization problems, face computational bottlenecks as problem size scales. QA offers a breakthrough by leveraging quantum mechanics, including quantum superposition and tunneling, to rapidly and effectively search for optimal solutions. The proposed methods integrate QA for parallel processing of object tracking data and RA for fine-tuning solutions based on initial predictions, significantly reducing computation time while improving tracking accuracy. Experimental validation using the University at Albany DEtection and TRACking (UA-DETRAC) dataset demonstrates the effectiveness of these quantum-enhanced approaches. By combining multiple tracking solutions through ensemble techniques and leveraging RA for refinement, the methods achieved notable improvements in MOT metrics, including reduced identity switches, enhanced accuracy, and faster processing times. Applications in traffic management, autonomous systems, and industrial automation highlight the transformative potential of quantum-driven MOT systems in addressing real-time operational challenges. This work underscores the promise of quantum technologies as a foundational pillar for advancing next-generation image recognition and tracking systems.
Quantum based vehicle detection is the innovative integration of Quantum Machine Learning (QML) techniques with classical computer vision methods to enhance vehicle detection and speed tracking systems using OpenCV. Traditional approaches in vehicle detection and speed tracking are often hindered by computational inefficiencies and accuracy limitations in complex traffic scenarios. Our proposed hybrid quantum-classical framework aims to overcome these complications by exploiting the computational advantages of quantum computing. In this study, we employ Quantum Principal Component Analysis (QPCA) for feature extraction and data dimensionality reduction, optimizing the input data for improved processing efficiency. The core detection mechanism integrates Quantum Neural Networks (QNNs) with classical Convolutional Neural Networks (CNNs), enhancing the model’s accuracy in identifying vehicles within video frames. For speed tracking, we apply quantum optimization techniques to refine the tracking of vehicle positions across consecutive frames, ensuring precise speed calculation. Using OpenCV for real-time video processing and Qiskit for quantum computations, the findings from the experiments indicate significant improvements in both detection a precision, accuracy and computational efficiency. The hybrid quantum-classical model showcases the potential of quantum computing in advancing computer vision applications, particularly in intelligent transportation systems. This research highlights the transformative impact of QML techniques on practical applications and paves the way for further advancements in quantum-enhanced vehicle detection and speed tracking.
With increasing computational demands in agriculture and life sciences, quantum computing is emerging as a potential alternative to classical computing. Unlike classical computers, which utilize binary bits, quantum computers utilize quantum bits (qubits) with unique properties such as superposition and entanglement, enabling them to solve certain computational problems more efficiently and achieve significant speed-ups in specific applications. In this manuscript, we evaluate the potential of quantum computing in agriculture and life sciences by reviewing computational challenges suitable for quantum computing and exploring exemplary domain applications. We examine optimization problems in agrifood supply chains, large-scale linear equation systems in animal breeding, quantum-based network architectures for machine learning in classifying satellite images for land-use analysis, quantum simulations for resource recovery from agriculture waste streams, and quantum search algorithms for genome assembly. Each computational problem type presents unique opportunities and challenges, underscoring the need for tailored quantum algorithms. Furthermore, we provide a critical assessment of the broader potential of quantum computing, discussing its challenges, limitations, and how to facilitate a potential implementation. While current quantum hardware remains limited, developing quantum algorithms is still valuable — not only to prepare for future advancements but also to foster innovation through interdisciplinary collaboration. Rather than replacing traditional computing, we foresee quantum computing complementing classical systems, offering novel solutions to previously intractable problems. Continued research and interdisciplinary collaborations are essential to realize the full potential of quantum computing, paving the way for pioneering advancements in agriculture and life sciences.
Visual tracking (VT) is the process of locating a moving object of interest in a video. It is a fundamental problem in computer vision, with various applications in human-computer interaction, security and surveillance, robot perception, traffic control, etc. In this paper, we address this problem in the quantum setting, and present a quantum algorithm for VT based on the framework proposed by Henriques et al. [IEEE Trans. Pattern Anal. Mach. Intell. 7, 583 (2015)]. Our algorithm comprises two phases: training and detection. In the training phase, in order to discriminate the object and background, the algorithm trains a ridge regression classifier in the quantum state form where the optimal fitting parameters of ridge regression are encoded in the amplitudes. In the detection phase, the classifier is then employed to generate a quantum state whose amplitudes encode the responses of all the candidate image patches. The algorithm is shown to be polylogarithmic in scaling, when the image data matrices have low condition numbers, and therefore may achieve exponential speedup over the best classical counterpart. However, only quadratic speedup can be achieved when the algorithm is applied to implement the ultimate task of Henriques's framework, i.e., detecting the object position. We also discuss two other important applications related to VT: (1) object disappearance detection and (2) motion behavior matching, where much more significant speedup over the classical methods can be achieved. This work demonstrates the power of quantum computing in solving computer vision problems.