Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

BillyLjm/QHack2022

 
 

Repository files navigation

QHack 2022 Banner

Introduction

Hi, these are my solutions to the QHack 2022 quantum machine learning hackathon.
Everything is coded in Xanadu's PennyLane quantum programming package.
The original repo with all the hackathon details can be found at /XanaduAI/QHack2022.

Hackathon Details

Site: QHack.ai
Date: February 2022

Score

Here is a screenshot of my completed hackathon scoreboard entry.
I ranked 47th in terms of cumulative completion time for the problem sets.
Scoreboard
I couldn't figure out games_500_switches using just a single shot, and so didn't get those points.
Instead, my circuit has to be repeated until the ancilla qubit measures as a 1, which has a 50% chance of occurring.

And here is my certificate for completing all but one of the problem sets.
Certificate

Files

The Coding_Challenges folder contains all the problem statements and solutions.
There is a requirements.txt to install the necessary python packages.
Each problem set is in its own sub-folder with the name <topic>_<score>_template.
In each problem set, there is a .pdf problem statement and a .py solution.
There are also given test input .in and answers .ans with can be invoked in terminal via

>> python <problem name>_template.py < 1.in  

Topics

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%