Skip to content

quantum-kittens/quantum-art-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Quantum Art Generator

Bubble art as a creative visualization of quantum noise

Overview

This app generates bubble art based on a textual input that is a visual representation of quantum noise.

How to Use The Quantum Art Generator

Navigating The Quantum Art Generator

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.

How to Run The Quantum Writing Prompt Generator Locally

If you want to run it on a actual quantum device, or just have a local copy of this follow the following step:

  1. Clone the git repository from Github.
  2. cd into the git repository.
  3. Create/Use a virtual environment with Python version 3.9.7
  4. Execute pip install -r requirements.txt.
  5. Execute export FLASK_APP=app.py
  6. Execute flask run

The app will available at 127.0.0.1:5000/. You can direct your browser to that location to access it.

How The Quantum Art Generator Works

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

Resources

Quantum Error Correction and Noise

Generic Quantum Resources:

Credits

Created by:

Thanks to:

  • Soham Pal for initial concept discussions
  • Burak Şenol for valuable input on handling images in the cloud

Art:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages