Microsoft Q# Coding Contest – Winter 2019: Recap

Mariia Mykhailova

Last month we invited everybody to try out their quantum programming skills in the second Q# coding contest. Now that it’s over, let’s take a look at how it went.

#TBT: Q# Coding Contest – Summer 2018

The first contest of the series was held in July 2018 (we might have mentioned it once or twice already…). A first-of-a-kind event is always very stressful – there is no prior experience to build upon, everything has to be figured out from scratch, and you don’t even know if anybody will be interested at all!

Turned out we didn’t need to worry about the interest – over 650 people from all over the world ended up joining the contest, the warmup round held the weekend prior to it, or both. We considered this a success and immediately started to plan for the next contest. In fact, we had several problems for the second contest drafted before the last T-shirt was shipped to the winners of the first one :-).

Lessons learned

Second-of-a-kind events have their own set of challenges. We couldn’t just repeat what we have done the first time – we had to do better. For example, the first contest turned out to be too easy: a hundred participants solved all problems, and the fate of the T-shirts was decided in less than 24 hours since the start of the round, which is not great for a 3-day event.

Another thing we wanted to improve based on the feedback from the first contest was the scoring system – calculating the penalty as a sum of submission times penalized participants who couldn’t join the contest right at the beginning quite heavily, so we decided to switch to using the last submission time as the penalty.

On the brighter side, preparing the warmup round for the second contest was easier than for the first one: with both the first contest and the Quantum Katas providing plenty of practice problems, we only had to cover new types of problems in the warmup.

The results

The winner solved all 13 problems in just under 5 hours. At this point we went through a brief phase of panic, worried that we had erred on the side of making the problems too easy again. However, it took the runner-up over 12 hours to secure their second place, and the third place wasn’t decided until the 21st hour of the competition. In the end 24 participants managed to solve all problems (the last of them less than 4 hours before the contest ended), so one could win a T-shirt even without solving everything.

Number of participants who… Warmup round Main contest
Submitted some code 245 255
Solved 1 or more problems 180 229
Solved everything 96 24

A total of 358 participants joined the contest, the warmup round, or both.

It is interesting to track people’s performance now that there are two contests’ worth of data. 16 participants of the top 50 of the second contest were also in the top 50 of the first one, and everybody in the top 10 of the second contest solved all problems of the first one (including the winner, who took the 100th place).

You can find the full results of the contest here.

What’s next?

Short-term goal 1: add the contest problems to the Quantum Katas for practice.

Short-term goal 2: ship the T-shirts to the contest winners.

Long-term goal: run more cool quantum programming events!

3 comments

Discussion is closed. Login to edit/delete existing comments.

  • Eratosthenes 0

    Are you doing the Q# competition again this winter? I want another shot at the Microsoft Quantum t-shirt. 🙂

    • Mariia MykhailovaMicrosoft employee 0

      We don’t have plans for it quite yet, but I’m definitely hoping to host another Q# contest soon! Once we plan it, we’ll announce it on the blog, so stay tuned 🙂

      • Eratosthenes 0

        Thanks! Will hope it works out.

Feedback usabilla icon