Bubble art as a creative visualization of quantum noise
This app generates bubble art based on a textual input that is a visual representation of quantum noise.
There are two ways art can be generated:
- 'Preset Noise' generates a slideshow of artworks with strategically preset levels of noise so that you can observe the journey as noise levels increase.
- 'Custom Noise' generates a single piece of artwork from your own specified noise levels - this is where you can play with the probabilities associated with the two types of errors! Remember that probabilities need to be specified between 0.0 and 1.0.
Here's something for you to try: in the Custom Noise mode, set both P(meas) and P(gate) to 0.5 and see what you get! Think about why the resulting artwork looks the way it does.
If you want to run it on a actual quantum device, or just have a local copy of this follow the following step:
- Clone the git repository from Github.
cd
into the git repository.- Create/Use a virtual environment with Python version 3.9.7
- Execute
pip install -r requirements.txt
. - Execute
export FLASK_APP=app.py
- Execute
flask run
The app will available at 127.0.0.1:5000/
. You can direct your browser to that location to access it.
If you're interested in how the art generation works, and what P(meas) and P(gate) mean, take a look at the corresponding article How I Use Quantum Computing to Create Bubble Art
- Qiskit Documentation: Building Noise Models
- Make use of noisy hardware: Building a noisy quantum random number generator
- Here’s How to Test Error Correction on an IBM Quantum Computer
- Loading a game from a quantum computer
- Benchmarking near-term devices with quantum error correction
- Introduction to Quantum Error Correction
- Radha Pyari Sandhir (Github: quantum-kittens, Twitter: RadhaPyari)
- James Wootton (Github: quantumjim, Twitter: decodoku)
- Soham Pal for initial concept discussions
- Burak Şenol for valuable input on handling images in the cloud
- Cover photo by Julian Hochgesang on Unsplash.
- Loading icon by Poonam on smallenvelop
- Python bubble art by codesharedot on dev.to