Quantum algorithm for visual tracking

Chao Hua Yu, Fei Gao, Chenghuan Liu, Du Q. Huynh, Mark Reynolds, Jingbo WangPhysical Review A 2026

TL;DR

This paper introduces the first quantum algorithm for visual tracking, a crucial task in computer vision. By leveraging quantum principles, it promises significant speedups over classical methods, particularly for related tasks like object disappearance detection and motion behavior matching.

What Problem Does This Paper Address?

Visual tracking (VT) is the fundamental problem of locating a moving object in a video sequence. It's essential for applications ranging from surveillance and robotics to human-computer interaction. A popular and effective approach is "tracking-by-detection," which involves training a classifier to distinguish the object from its background in one frame and then using that classifier to find the object in subsequent frames. The challenge lies in the computational cost of these training and detection phases, especially for large datasets and complex scenarios. This paper tackles this by proposing a quantum algorithm that aims to perform these tasks more efficiently.

Methods

The core of this work is a quantum algorithm that mirrors the classical "tracking-by-detection" framework proposed by Henriques et al. (HCMB15). The algorithm operates in two phases:

  • Training Phase: Instead of classical ridge regression, this phase trains a quantum-state ridge regression classifier. The optimal parameters of the classifier are encoded in the amplitudes of a quantum state. This is achieved by simulating an "extended circulant Hamiltonian," which allows for efficient preparation of the quantum state representing the classifier's parameters.
  • Detection Phase: The trained quantum classifier is then used to generate a new quantum state. The amplitudes of this state encode the "responses" of various candidate image patches to the classifier, indicating how likely each patch contains the object. The patch with the highest response (represented by the largest amplitude) is identified as the object's location.

A key technical innovation is the efficient simulation of "extended circulant Hamiltonians," which are crucial for representing and manipulating the data matrices involved in visual tracking. This simulation, combined with quantum phase estimation and controlled rotations, allows for the preparation of the required quantum states in polylogarithmic time, provided the data matrices have low condition numbers.

Datasets

Not discussed in the paper. The paper focuses on the algorithmic framework and theoretical speedups, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Quantum Advantage for Visual Tracking: The paper demonstrates that quantum computing can be applied to a core computer vision problem, offering potential for significant speedups.
  • Encoding Classical Information in Quantum States: The algorithm ingeniously encodes classical information (classifier parameters, patch responses) into the amplitudes of quantum states, enabling quantum processing.
  • Efficient Simulation of Circulant Matrices: The development and application of efficient quantum algorithms for simulating extended circulant Hamiltonians are central to achieving speedups. These matrices arise naturally from the structure of image patches in the HCMB15 framework.
  • Beyond Object Localization: The paper highlights that the quantum states generated by the tracking algorithm can be directly used for other important VT-related tasks like object disappearance detection and motion behavior matching, where much larger speedups are achievable compared to just locating the object.

Key Results

  • Polylogarithmic Time Complexity: The quantum algorithm can prepare the quantum states representing the classifier and its responses in polylogarithmic time with respect to the dimensionality of the image data, provided the data matrices have low condition numbers. This suggests a potential for exponential speedup over classical methods.
  • Quadratic Speedup for Object Localization: When directly applied to the task of finding the object's position (as in the original HCMB15 framework), the quantum algorithm achieves at most a quadratic speedup.
  • Significant Speedups for Related Tasks: For object disappearance detection and motion behavior matching, the quantum algorithm offers much more substantial speedups, potentially exponential, by leveraging the generated quantum states.

Limitations and Future Work

  • Condition Number Dependency: The polylogarithmic speedup is contingent on the image data matrices having low condition numbers. High condition numbers can degrade performance.
  • Practical Implementation: The paper focuses on theoretical speedups. Realizing these gains on current or near-term quantum hardware will require overcoming challenges related to qubit availability, gate fidelity, and error correction.
  • Two-Dimensional Images: While the paper extends the framework to two-dimensional images, the complexity increases, and the practical implications for real-world scenarios would need further investigation.
  • Future Work: The authors suggest exploring the application of these techniques to other computer vision problems and developing more quantum algorithms for manipulating circulant matrices. They also anticipate that their work might inspire further research in quantum-enhanced computer vision.

Summary updated

BibTeX
@article{yu2026quantum,
  author = {Chao Hua Yu and Fei Gao and Chenghuan Liu and Du Q. Huynh and Mark Reynolds and Jingbo Wang},
  title = {{Quantum algorithm for visual tracking}},
  journal = {Physical Review A},
  year = {2026},
  url = {https://openreview.net/forum?id=KJFA1gdh9t},
}
Figure