Quantum Computing Puzzle Creator

 

A powerful tool to design quantum computation puzzles

 

In our game, we have worked to transform the mathematically rigorous and abstract process of creating quantum algorithms into a visually rich puzzle. In this transition, we have ensured that the mathematical precision is retained 'under the hood'.


Quantum Odyssey provides an easy to access and user-friendly 3D quantum circuit board to build algorithms and visualize the evolution of the state vector in a wholly unique way! Tensors and state vector calculations are still available for your inspection, yet they are purposely hidden so not to detract from the visual focus of the algorithm creator.


The engine is based on a full state space representation with no approximations, so it can capture the full richness of even very subtle quantum phenomena. The combination of visuals possible are not as many as the amount of complex numbers out there, but are at least 1536 which we think is pretty good.


All key quantum phenomena such as Entanglement, Superposition and Phase Cancellation/ Amplification are  observed in the simulator as the result of the circuits you create, in real time. Schrödinger's cat, Grover's search and Shor's algorithm are given as training examples to encourage experimentation with modern quantum algorithms.


With an intuitive design, the UI allows for any configuration of qubits (up to 8) and all Clifford gates used in computing. If you find that insufficient, you can design your own custom gates using the Clifford set or using other, existing custom gates.


The visuals display both the evolution of the state vector and the entire Hilbert space in real time as you are placing gates. For each gate you place, you can immediately see if you make a mistake and realise it was a bad idea in as many frames per second as your computer can handle.



Legal & Waranty:


You can use this tool for free in any way you please and we do not save algorithms you are not willing to share, nor ask for anything in return. The product does not come with a guarantee of any kind.


We wholeheartedly welcome everyone to play with this tool, design new puzzles and contact us to share the puzzles you designed or to give feedback! As people that spend most of our days looking at computer code, we can always make time for a chat!



Tutorial

The graphics shown here are pre-alpha, just for demonstration purposes.


The blue ball that we see spawning represents the State Vector. It goes through a set of transformations based on the gates that the user will place on the circuit.


The entire solution space is represented at all times, in the visualiser next to the circuit builder. The colors describing both the ball and laser beams and the size of the ball serve the purpose to visualize the state vector transformation: from an initial to a final state.


The goal of each puzzle is to achieve a certain final state given some conditions need to be met.

Conditions range from building an algorithm to solve a rotating error (Quantum Error Correction algorithms), or a configuration that can't be changed (the user needs to optimise an existing algorithm) or to find a way to achieve a final state with the smallest number of gates or being limited to a certain set and circuit size.

The Gates menu comes with the whole Clifford set. By holding down the mouse button, gates can be dragged out.

The puzzle builder supports up to 8 qubits. Each time a new qubit is added, the solution space of the bitstring increases in size, allowing for more complex algorithms. Bitstrings are ordered starting from 0[..]0 to 1[..]1 following the LSB convention.

There are a lot of design elements to guide you through building your own circuit. The slots where gates can be place become highlighted and the solution space of all possible "quantum paths" changes instantaneously.


Solving puzzles is very intuitive and require no knowledge of computation or quantum physics. The mechanics of the puzzles build on one another. For most puzzles, the victory condition is to bring a ball of the same size and color to the location shown on the visualizer.




All proprieties of quantum computation described bellow (wihout any math!)

Quantum Superposition - the "H-gate" (Hadamard gate) allows splitting a single computation in two! As a thought experiment, think of the Schrodinger Cat. The computation out come is both 0 and 1, until measured. Both dead and alive.

Notice that the ball size also decreases, to represent the probability of both states.


Are you intrigued by the design of the gates?

What do you think the colors are? 


Every graphical element is a 1:1 conversion of quantum eqautions to visual.


Quantum Entanglement is one of the many features that are part of the puzzle set. Any combination of entangled gates is possible. This example shows the behaviour for CX and CCX.


Now we are ready to show the coolest and hardest to describe (without our visualiser!) propriety of quantum mechanics!


Phase amplification / annihilation


What makes this visualizer really fun and powerful is that it builds intuition over how quantum states annilihate or amplify.


Notice how the collisions between the balls have different effects basing on their color propriety.


Let's apply all the cool quantum proprieties and do a very simple algorithm - the famous ERP paradox!



At this game, you become good by failing and learning from your mistakes.


With enough practice, it becomes easy to visualise what effects placing a gate will have on your quantum circuit.

Building algorithms becomes a fun process - and sticks with you.

Once you start thinking visual, figuring out quantum algorithms becomes addictive and fun!


Just look at this challenge: To find the ERP state 000 and get a phase (green ball) to 111 with a fixed ccx gate - done in less than 20 seconds!


Could this be the start of quantum computation speed runs?