SpookyQubits

Ghost Blocks.

Make a quantum game or simulation with drag-and-drop blocks. Start with Schrödinger’s Cat, or see what you can build with qubits of your own.

Block referenceBlock functions, examples, and Word guide

Test radioactive decay

  1. Open the lab, click the green flag, and choose how many half-lives to wait.
  2. Run one trial. If the simulated nucleus decays, the ideal detector records a click and triggers the outcome for the cat.
  3. Run 100 trials at each of 1, 2, and 3 half-lives. Compare your measured percentages with the predicted 50%, 75%, and 87.5%.

After t half-lives, the probability of decay is 1 − 2−t. The lab checks at whole half-life intervals. Decay model

The lab tests decay statistics. Schrödinger’s thought experiment asks how a quantum event leads to a definite outcome at the scale of a cat. Original thought experiment

Download the decay lab (.sb3) · Download the original 50/50 starter (.sb3)

Make a project of your own

  1. Open the editor on a computer and select Add Extension → Ghost Blocks.
  2. Try creating a ghost coin, applying ghost (the Hadamard gate), and checking the chance of measuring 1.
  3. Choose File → Save to your computer and share the project file and this editor link.

Use this editor to reopen projects that use Ghost Blocks. No sign-in is required.

Explore five Scratch projects