Quantum Variational Rewinding for Time Series Anomaly Detection

Jack S. Baker, Haim Horowitz, Santosh Kumar Radha, Stenio Fernandes, Colin Jones +4 more
10/28/2022
quant-ph

Official code: AgnostiqHQ/Quantum-Variational-Rewinding (21 stars, Jupyter Notebook, last commit 2023-09-28).

Abstract

Electron dynamics, financial markets and nuclear fission reactors, though seemingly unrelated, all produce observable characteristics evolving with time. Within this broad scope, departures from normal temporal behavior range from academically interesting to potentially catastrophic.

Show full abstract

New algorithms for time series anomaly detection (TAD) are therefore certainly in demand. With the advent of newly accessible quantum processing units (QPUs), exploring a quantum approach to TAD is now relevant and is the topic of this work. Our approach - Quantum Variational Rewinding, or, QVR - trains a family of parameterized unitary time-devolution operators to cluster normal time series instances encoded within quantum states. Unseen time series are assigned an anomaly score based upon their distance from the cluster center, which, beyond a given threshold, classifies anomalous behavior. After a first demonstration with a simple and didactic case, QVR is used to study the real problem of identifying anomalous behavior in cryptocurrency market data. Finally, multivariate time series from the cryptocurrency use case are studied using IBM's Falcon r5.11H family of superconducting transmon QPUs, where anomaly score errors resulting from hardware noise are shown to be reducible by as much as 20% using advanced error mitigation techniques.

View on arXivView PDF

Code Implementations(1)

Covalent demonstration of the QVR algorithm using a cryptocurrency time series use case

214Jupyter NotebookOct 24, 20223 years ago
anomaly-detectionanomalydetectioncovalentmachine-learningquantum+4 more

Similar Papers

Cite this paper

@article{baker2022quantum,
  title  = {Quantum Variational Rewinding for Time Series Anomaly Detection},
  author = {Jack S. Baker and Haim Horowitz and Santosh Kumar Radha and Stenio Fernandes and Colin Jones and Noorain Noorani and Vladimir Skavysh and Philippe Lamontangne and Barry C. Sanders},
  year   = {2022},
  eprint = {2210.16438},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.16438}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.16438.svg)](https://codeofpaper.com/paper/2210.16438)

Discussion