Quantum density estimation with density matrices: Application to quantum anomaly detection

Diego H. Useche, Oscar A. Bustos-Brinez, Joseph A. Gallego-Mejia, Fabio A. González
1/24/2022
8 citations
quant-ph

Official code: diegour1/QuantumAnomalyDetection (3 stars, Jupyter Notebook, Apache-2.0, last commit 2022-06-11). 1 more implementation below.

Abstract

Density estimation is a central task in statistics and machine learning. This problem aims to determine the underlying probability density function that best aligns with an observed data set.

Show full abstract

Some of its applications include statistical inference, unsupervised learning, and anomaly detection. Despite its relevance, few works have explored the application of quantum computing to density estimation. In this article, we present a novel quantum-classical density matrix density estimation model, called Q-DEMDE, based on the expected values of density matrices and a novel quantum embedding called quantum Fourier features. The method uses quantum hardware to build probability distributions of training data via mixed quantum states. As a core subroutine, we propose a new algorithm to estimate the expected value of a mixed density matrix from its spectral decomposition on a quantum computer. In addition, we present an application of the method for quantum-classical anomaly detection. We evaluated the density estimation model with quantum random and quantum adaptive Fourier features on different data sets on a quantum simulator and a real quantum computer. An important result of this work is to show that it is possible to perform density estimation and anomaly detection with high performance on present-day quantum computers.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
diegour1/QuantumAnomalyDetectionOfficial3Jupyter NotebookApache-2.02022-06-11
diegour1/QDEMDEOfficial0Jupyter NotebookApache-2.02024-03-19
Apache-2.0

A quantum anomaly detection method based on the expected values of density matrices and density estimation. Honorable Mention (3-4 Place) in the IBM Qiskit Hackaton Global 2021.

32Jupyter NotebookNov 17, 20214 years agoApache-2.0
diegour1/QDEMDEOfficial100%
Apache-2.0

Q-DEMDE: Quantum-classical density matrix density estimation

00Jupyter NotebookFeb 29, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{useche2022quantum,
  title  = {Quantum density estimation with density matrices: Application to quantum anomaly detection},
  author = {Diego H. Useche and Oscar A. Bustos-Brinez and Joseph A. Gallego-Mejia and Fabio A. González},
  year   = {2022},
  eprint = {2201.10006},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.10006}
}

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/2201.10006.svg)](https://codeofpaper.com/paper/2201.10006)

Discussion