1.4 The Quirky simulator

The laws of probability can be somewhat counterintuitive. Fortunately, you can always try to simulate its behavior by using the computer you have at home (or the one in your pocket).55 5 To some extent this is true even for quantum computers – but we are getting ahead of ourselves…

In this course we will use a simulator called Quirky. Quirky is the little sibling of Quirk, a more featureful simulator developed by Craig Gidney at Google. Since Craig released his code under an open source license, we could adapt his simulator for our needs in this course. One of the best features of Quirky is that it runs right in your web browser – no installation required! Simply go to:

and click on “Quest 1”. Try it now – you can even open Quirky on your mobile phone! When you open Quirky for the first time, it should look like in Fig. 1.3.

Refer to caption

Figure 1.3: Quirky opened for the first time.