/QHack2023

Solutions of the QHack 2023 Quantum Coding Challenges

Primary LanguageHTML

QHack 2023 Banner

Introduction

Hi, these are my solutions to the QHack 2023 quantum machine learning hackathon.
Everything is coded in Xanadu's PennyLane quantum programming package.

Hackathon Details

Site: QHack.ai
Date: February 2023

Score

Here is a screenshot of my completed hackathon scoreboard entry.
I ranked 24th in terms of cumulative completion time for the problem sets.
Scoreboard

And here is accompanying certificate
Certificate

Files

There are several challenges, each in the form of a self-contained .ipynb in the ipynb folder.
These challenges also have an overarching storyline, as introduced in coding_metastory.md, which flow from the notebook 1.1 to 1.2, 1.3, ..., 1.5, 2.1, ...
They are also html copies in the html folder.

Topics

  1. Tutorial Challenges
    1. 0.1-It Adds Up-jupyter notebook
    2. 0.2-Affairs of State-Quantum States
    3. 0.3-A Shor Thing-Shor Code
    4. 0.4-Product Management-Product States
    5. 0.5-Hi, Hydrogen!-VQE: Variational Quantum Eigensolver
    6. 0.6-Hamiltonian Sandwich-Hamiltonians
    7. 0.7-Optimize This-Quantum Machine Learning
    8. 0.8-Stuck in the Middle with U-Mid-Circuit Measurements
  2. Office Hijinks
    1. 1.1-Tick-Tock Bloch-Bloch Sphere
    2. 1.2-The Super Parameter-Expressibility of Circuit Ansatz
    3. 1.3-The Change of Qubit-Swapping States
    4. 1.4-The Lazy Colleague-Grover Search
    5. 1.5-The False Proof-Phases of Quantum States
  3. Bending Bennett's Laws
    1. 2.1-Ctrl-Z-Quantum AND Gate
    2. 2.2-Sub-Superdense Coding-Superdense Coding
    3. 2.3 Secrets in Spacetime-Quantum Encrypthon
    4. 2.4-A Halfway-Decent Photocopier-Quantum Teleportation
    5. 2.5-The Itch to Switch-Quantum Teleportation
  4. A Tale of Timbits
    1. 3.1-The Magic 5-Ball-Bernstein-Vazirani Algorithm
    2. 3.2-Cascadar-Tiffoli Gates
    3. 3.3-A Pauli-Worded Problem-Noise, Trace Distance
    4. 3.4-Entangled Robot Swarms-Quantum Teleporation
    5. 3.5-One-Bit Wonder-Timbits, Boolean Satisfiability Problem
  5. Fall of Sqynet
    1. 4.1-SqyTrotter-Trotterisation
    2. 4.2-Unitary Operators and Beyond-Sum of Unitaries
    3. 4.3-Don't Hit the Ground-Noise Modelling
    4. 4.4-Desperate Measures-Trotter Ising Model
    5. 4.5-Ising Uprising-VQE Ising Model