XanaduAI / QHack2021

Official repo for QHack—the quantum machine learning hackathon
https://qhack.ai
122 stars 94 forks source link

[ENTRY] Variational Language Model #55

Open JonasLandman opened 3 years ago

JonasLandman commented 3 years ago

Team Name:

Team X (Slimane Thabet & Jonas Landman)

Project Description:

In this project, we developed a variational quantum algorithm for Natural Language Processing. Our goal is to train a quantum circuit such that it can process and recognize words. Applications include word matching, sentence completion, sentence generation and entity recognition. We use state-of-the-art deep learning word embedding and amplitude encoded quantum register, with a new ansatz and training methodology to perform this task, based on the swap test between words. We have successfully trained our circuit for 12h thanks to AWS SV1 Power Up Credits, and tried our trained circuit on basic applications.

Presentation:

https://github.com/Slimane33/qhack_project/blob/main/QHack.pdf

Source code:

https://github.com/Slimane33/qhack_project

co9olguy commented 3 years ago

Thanks for the submission! We hope you have enjoyed participating in QHack :smiley:

We will be assessing the entries and contacting the winners separately. Winners will be publicly announced sometime in the next month.

We will also be freezing the GitHub repo as we sort through the submitted projects, so you will not be able to update this submission.