~/vedant_
homeaboutthoughtsprojects
Back to all projects

Quantum Doodle

work in progress
javascriptp5.jsphysicsquantum computing

An interactive web application that combines quantum computing concepts with a creative drawing interface. Draw quantum circuits and see them come to life!

What is this?

Quantum Doodle is an interactive web application that combines quantum computing concepts with a creative drawing interface. It allows users to create quantum circuit diagrams through intuitive drawing gestures, visualize quantum states, and see real-time quantum simulations of their drawings.

How it works

The app provides a canvas where users can draw quantum gates and connections:

  • Draw quantum gates (Hadamard, CNOT, etc.) with simple gestures
  • Connect gates to create quantum circuits
  • Visualize the quantum states as they evolve through the circuit
  • See real-time simulations of quantum operations
  • Export and share your quantum circuit designs

The quantum computing concepts

Quantum Doodle implements fundamental quantum computing principles:

  • Quantum gates and their effects on qubits
  • Quantum superposition and entanglement
  • Measurement and collapse of quantum states
  • Quantum circuit visualization and simulation

Technical details

Built with:

  • JavaScript and p5.js for the drawing interface
  • Custom quantum simulation engine
  • WebGL for state visualization
  • HTML5 Canvas for the drawing canvas

Current status

This is a work in progress. I'm continuously adding new quantum gates, improving the drawing interface, and enhancing the visualization capabilities to make quantum computing concepts more accessible and intuitive.

Future plans

  • Add more quantum gates and operations
  • Implement quantum algorithms (Grover's, Shor's, etc.)
  • Add educational tutorials and explanations
  • Create a gallery of example circuits
  • Improve the export and sharing functionality