XanaduAI / QHack2023

QHack 2023
68 stars 15 forks source link

[Done] Quantum-Image-Processing-from-visualization-to-classification_Qualition #93

Open danielbultrini opened 1 year ago

danielbultrini commented 1 year ago

Project Name: Quantum Image Processing - embeddings - from visualization to classification Team Name: Qualition

Which challenges would you like to submit your project for?

Project Link: https://github.com/Qualition/Quantum-Image-Processing/tree/e0624c17bba1d50ed5d292fb654985e2cc425158

Project description: The README goes through several embedding schemes we have come up with that are either simulator-friendly encodings or NISQ-friendly and implements them in both artistic and scientific settings. The main feature is that we have implemented an embedding for the recent FRQI-QPIXL framework (Amankwah et al., May 2022, https://www.nature.com/articles/s41598-022-11024-y ). we expanded it to include interactive demos, and examples including the use of a hybrid quantum-classical network for classifying a cancer dataset.

Then we have also developed a method for 'chunked' embedding where the image is split up and recombined into a compressed statevector. This method, which we call Distributed Amplitude Encoding is much easier on classical compute resources and allows for images as large as 4K to be processed with quantum operations being applied.

Finally, we have also looked at how well standard image embeddings perform in QML using a full quantum workflow - that is, direct quantum embedding, quantum autoencoder, and QNN classifier, and these can be seen in Autoencoder-QCNN.ipynb. Here the fashion-MINST data is used to benchmark performance. In the future, we hope to compare different embedding schemes and the performance of the same QNN with varying embeddings of the same dataset, which should be very interesting.

JordanAWS commented 1 year ago

Hi Qualition, it doesn't appear that you used AWS anywhere in your project. Is that correct?

danielbultrini commented 1 year ago

@JordanAWS Hi Jordan! We really wanted to also do an Amazon bracket implementation of QPIXL, but we were never contacted about the power up sadly. If we were, the teammate who had the account must have not been notified. It definitely would have been a great help to compete a few more comparisons though! That being said, we hope the outcome was in the spirit of the challenge.