A plumber having a quantum experience

Quantograph

Art toy to generate animated pixel art using quantum computation.

Just like normal computing is based on bits, quantum computing is based on qubits. How you approach a quantum computing project depends a lot on how many qubits you use. In this project, I am using 6.

The project uses Qiskit to implement the quantum programming, and runs inside a Jupyter notebook. You can use a web version here which requires no installation. Or you can run it locally from the source.

A tutorial based on this project can be found here.


github.com/quantumjim/quantograph

Awards


Angel Investment Award for use of Emerging Technologies
Presented by assertivist

Give this entry an award

Scores

Ratings (show detail)

Overall: 2.3
Fun: 1.3
Production: 1.7
Innovation: 3.8

40% respondents marked the game as not working.
2% of respondents wished to disqualify the entry.
Respondents: 6

Files

File Size Uploader Date
quantograph-master_rHCYYx9.zipfinal
Zip of github repo
52.9 KB quantumjim 2019/03/30 23:20
ezgif-5-f592f32aeee1.gif
A plumber having a quantum experience
283.4 KB quantumjim 2019/03/29 14:47
quantograph-master.zipfinal
A toy for making pixel art animations with quantum computation
52.4 KB quantumjim 2019/03/29 14:19
Plumber_2019_3_2913352.png
Example animation
104.1 KB quantumjim 2019/03/29 12:58

Diary Entries

MVP complete

I have an MVP! I submitted something tagged as 'final version'!

Whether it really is the final version remains to be seen. But it is nevertheless usable.

Add a comment

Day 5: A PR to the Qiskit tutorials

My project turned into a potential Jupyter notebook for the Qiskit tutorial. Today I made a pull request

https://github.com/Qiskit/qiskit-tutorials/pull/577

I think this will be basically the final version. I'll make a more streamlined one for the final submission, but this is my quantum art toy: made from Jupyter widgets rather than pygame.

Add a comment

Day 3

I turned Mario into a quantum program, and then back into an image. It takes around half a second, which is probably acceptable latency for allowing the player to see direct feedback.

I'd usually think that 6 qubits is too few, but using more would mean much longer runtimes. The restriction placed by the theme therefore allows me to explore possibilities I wouldn't usually allow myself.

Add a comment

Minimal Mario

My project will be more of an art toy than a game. It'll use Qiskit (a Python framework for quantum computation) to make and manipulate images.

I'll limit myself to quantum programs of 6 qubits (no more and no less) to incorporate the theme. This will mean that the images will be limited to 2^6 pixels. In a quick test before starting coding, I found that this is only just enough to make a Mario.

Add a comment