quantum-melbourne / qiskit-hackathon-22

A repository for Qiskit Hackathon Melbourne (July 4-7, 2022)
5 stars 2 forks source link

Expressing quantum computation through generated art #3

Open garymooney opened 2 years ago

garymooney commented 2 years ago

Abstract

Quantum computing is notorious for being unintuitive and difficult to imagine. This project aims to create some kind of connection between a human observer and the complex workings of a quantum algorithm.

To do this, we will express the process of quantum computation as art, in the form of music, video... or a music video!

I mean, this does kind of remind you of a music score right? image

Description

Slide2

Slide3

The idea is to come up with a way to convert properties of quantum algorithms at each time step of the computation to a (hopefully) tasteful form of visual and audio output.

By using the qiskit simulators, we could query the quantum state at each time step of the quantum algorithm and extract properties. These properties could be used to determine the pixels and MIDI sounds (a form of coding music).

An example of how to do this could be the following (we can chat about other ideas that could work too):

Tools

Sound: The Mido python library (https://mido.readthedocs.io/en/latest/) can be used to create MIDI files (a form of coding music). MIDI files can be rendered to other formats using the midi2audio lib https://github.com/bzamecnik/midi2audio

Image: The png python library (https://pypng.readthedocs.io/en/latest/png.html) can be used to create images using pixel RGB values.

Video: The MoviePy python library (https://pypi.org/project/opencv-python/) can be used to read the images from a folder and turn them into a video, or images can be specified as numpy arrays.

Members

Qiskit Coach: @garymooney - email: mooneyg@unimelb.edu.au @yy00770 @Gyp1127

The project would benefit from a variety of backgrounds. Technical artists or anyone with experience in sound/music or generating MIDI files would be especially fitting.

Deliverable

A music video depicting the evolution of a quantum algorithm. The beginnings of a Qiskit module that can create art from input algorithms.

GitHub repo

https://github.com/garymooney/quantum-music-videos

ironfrown commented 2 years ago

This project sounds pretty cool!

yy00770 commented 2 years ago

Hi Gary, I am Yang. I am interested in your project. May I join?

Gyp1127 commented 2 years ago

Hey Gary, I'm interested in working with you on this project :)

garymooney commented 2 years ago

Btw, don't worry about doing the tutorials or anything. We can work all that out tomorrow!