RasQberry Demos

The RasQberry project: Exploring Quantum Computing and Qiskit with a Raspberry Pi and a 3D Printer

RasQberry Demos

In this repository you can find different demos which also work with different hardware components.

You can access the different demos with the main menu from the Raspberry under the categories Demos and HD Demos. When you use your RasQberry with a display you can access the demos with the Kivy Interface as well.
You can start the Kivy Interface by clicking the desktop-icon on your Desktop.

Demos using a (touch) display

Bloch Sphere

In quantum mechanics and computing, the Bloch sphere is a geometrical representation of the pure state space of a two-level quantum mechanical system (qubit), named after the physicist Felix Bloch.
In this demo you can investigate how the Bloch Sphere behaves under curtain changes.


The Bloch Sphere demo is based on https://github.com/JavaFXpert/grok-bloch by James Weaver.
You can use this demo offline.

Quantum Composer

The IBM Quantum Composer allows public and premium access to cloud-based quantum computing services provided by IBM Quantum. This includes access to a set of IBM’s prototype quantum processors, a set of tutorials on quantum computation, and access to an interactive textbook.
You can use the quantum composer only while connected to a network.



You can connect LED Lights to your Raspberry Pi. This demo starts a program which lets the LED Lights shine in different colors and pattern.

drawing drawing
drawing drawing


When you have an LED Ring Light connected to your Raspberry Pi you can use RasQ-LED.
This demo will randomly calculate which one of the single LEDs will be 0 and which will be 1. Zeros will be red and ones will be blue.

drawing drawing

Demos using a SenseHAT


This demos comes in two alternatives. Rasqberry-Tie 5 simulates 5 Qbits and Rasqberry-Tie 16 simulates 16 Qbits.
The Raspberry-Tie demos are based on https://github.com/KPRoche/quantum-raspberry-tie by Kevin Roche.



The Qrasp demo is based on https://github.com/ordmoj/qrasp by Hassi Norlen.


Visualizing Quantum Computing using fractals

By choosing D - Quantum Demos and FR - Fractals you can start a demo which visualizes quantum computing using fractals. The demo opens a new browser window and generates a fractal in real time. After the fractal is generated the animation will be saved as a GIF which will be displayed afterwards.

The GIF can be found in the folder /RasQberry/demos/bin/fractal_files/.
By closing the browser window the generation will be interrupted and the current state of the animation will be saved as a GIF which also will be shown afterwards.

The old fractal will be overwritten by the new one.

See more information here.

Continuative demos


By cloning the git-repository with the qiskit-demos you have access to new jupyter notebooks that you can run and investigate.

Jupyter Notebooks

In your Jupyter Notebook you can investigate demos (e.g. the qiskit tutorials and demos) or can run your own code.
By executing D1 - Config & Demos (under S - RasQerry Setup) in the Rasqberry Configuration Tool you have access to more demos that you can run in jupyter notebooks on your Raspberry Pi. You need to provide your API Token and the jupyter notebook will be configurated.

Password: **RasQberry**.

You can now use the Jupyter notebook.

Go back to: Content
Go back to: Start Page