/qhack-2021-openproject

This project aims to use modified layerwise learning on data re-uploading classifier to classify events in HEP. The project won second place at Xanadu's QHack Quantum Machine Learning Open Hackathon 2021.

Primary LanguageJupyter NotebookMIT LicenseMIT

QHack 2021 Open Hackathon:
Event Classification with Layerwise Learning for Data Re-uploading Classifier in High-Energy Physics

Team Name: Entangled_Nets
Eraraya Ricardo Muten
Togan Tlimakhov
Andrei Voicu Tomuț

Abstract

This project aims to use the method of modified layerwise learning[8] on data re-uploading classifier[6], where parametrized quantum circuit will be used as quantum classifiers to classify the SUSY dataset[1]. We managed to produce a better result using this approach compared to the previous related research[2] with less number of qubit. We obtained AUC of 0.8488 on testing dataset with 5000 training and testing samples, trained and tested using a simulator. We also tested to run the circuit on Rigetti's Aspen-9 QPU provided by AWS using the already optimized parameter to predict 2000 samples of test dataset and we obtained AUC of 0.8298.

Acknowledgment

This work is submitted to the QHack 2021 organized by Xanadu. During the hackathon, we had the opportunity to learn and implement ideas in the field of QML. It was a pleasure to be part of this hackathon, and as a team, we would like to thank all the speakers for their valuable presentations and the Xanadu team for organizing an amazing event. Thanks to Amazon Braket, we received a total of $4250 in AWS credits to execute our code on real quantum hardware.

Competition Result

We got second place and won the tickets to the summer internship at CERN!! 🎉🎉
You can read the official announcement from Xanadu here:

QML Challenge Part

For the QML Challenge Part, our solutions are here.

References

[1] SUSY Dataset - UCI Machine Learning Repository.

[2] Event Classification with Quantum Machine Learning in High-Energy Physics.

[3] Unfolding measurement distributions via quantum annealing.

[4] Quantum Computing in the NISQ era and beyond.

[5] Quantum Machine Learning in High Energy Physics.

[6] Data re-uploading for a universal quantum classifier, Adrián Pérez-Salinas, Alba Cervera-Lierta, Elies Gil-Fuster, José I. Latorre.

[7] PennyLane optimizers

[8] Layerwise learning for quantum neural networks, Andrea Skolik, Jarrod R. McClean, Masoud Mohseni, Patrick van der Smagt, Martin Leib

Note

The final notebook is here. GitHub sometimes failed to render Jupyter Notebook's markdown properly, so in case of that please use this link to see the notebook in nbviewer.
The final notebook is the clean version of the code that by itself should be enough to reproduce the results, but all the testing/temporary codes and other files used in this project are available at the Old GitHub Repo. Our numerical results from the Rigetti's QPU device are here.