Skip to content

Unsupervised anomaly detection in the latent space of high energy physics events with quantum machine learning.

License

Notifications You must be signed in to change notification settings

vbelis/latent-ad-qml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum anomaly detection in the latent space of proton collision events at the LHC

DOI DOI:10.48550/arXiv.2301.10780 Email: vasilis Made at CERN! Code style: black Python: version License: version Documentation Status

This repository has the code we developed for the paper "Quantum anomaly detection in the latent space of proton collision events at the LHC" [1]. In this work, we investigate unsupervised quantum machine learning algorithms for anomaly detection tasks in particle physics data.

The qad package associated with this work was created for reproducibility of the results and ease-of-use in future studies.

Sublime's custom image

The figure above, taken from [1], depicts the quantum-classical pipeline for detecting (anomalous) new-physics events in proton collisions at the LHC. Our strategy, implemented in qad, combines a data compression scheme with unsupervised quantum machine learning models to assist in scientific discovery at high energy physics experiments.

Documentation

The documentation can be consulted in the readthedocs page.

Citation

Please cite our work if you found it useful in your own research.

@article{wozniak_belis_puljak2023,
  doi = {10.48550/ARXIV.2301.10780},
  url = {https://arxiv.org/abs/2301.10780},
  author = {Woźniak, Kinga Anna and Belis, Vasilis and Puljak, Ema and Barkoutsos, Panagiotis and Dissertori, Günther and Grossi, Michele and Pierini, Maurizio and Reiter, Florentin and Tavernelli, Ivano and Vallecorsa, Sofia},
  keywords = {Quantum Physics (quant-ph), Machine Learning (cs.LG), High Energy Physics - Experiment (hep-ex), FOS: Physical sciences, FOS: Physical sciences, FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {Quantum anomaly detection in the latent space of proton collision events at the LHC},
  publisher = {arXiv},
  year = {2023},
  copyright = {Creative Commons Attribution 4.0 International}
}

How to install

The package can be installed with Python's pip package manager. We recommend installing the dependencies and the package within a dedicated environment. For instance, we use conda to create a python environment:

conda create -n my_env python=3.8
conda activate my_env

In this environment you can directly install qad by running:

pip install https://github.com/vbelis/latent-ad-qml/archive/main.zip

or by first cloning the repo locally and then installing the package:

git clone https://github.com/vbelis/latent-ad-qml.git
cd latent-ad-qml
pip install .

The installation is expected to take a couple of minutes.

Usage

Examples on how to run the code and use qad to reproduce results and plots from the paper can be found in the scripts. Check also the corresponding documentation page.

References

[1] K. A. Woźniak*, V. Belis*, E. Puljak*, P. Barkoutsos, G. Dissertori, M. Grossi, M. Pierini, F. Reiter, I. Tavernelli, S. Vallecorsa , Quantum anomaly detection in the latent space of proton collision events at the LHC, arXiv:2301.10780.
* equal contribution