Skip to content

add Copenhagen Brush: quantum wave function collapse#44

Open
saadbhattii wants to merge 1 commit intomoth-quantum:distfrom
saadbhattii:dist
Open

add Copenhagen Brush: quantum wave function collapse#44
saadbhattii wants to merge 1 commit intomoth-quantum:distfrom
saadbhattii:dist

Conversation

@saadbhattii
Copy link
Copy Markdown

Closes #33

Copenhagen Brush

Hi! I'd like to contribute the Copenhagen brush: an implementation of the Copenhagen interpretation of quantum mechanics for digital art.

The brush samples all pixels within the stroke region, builds a quantum circuit with Hadamard gates, and runs it on AerSimulator. The measurement collapses the circuit to a single bitstring, which selects one color from the stroke region and every pixel in that specific stroke snaps to it.

I've included a detailed README with the background, high level and low-level descriptions, my personal motivation, tips for creative usage of the brush and a full workflow with screenshots. Hope you enjoy it!

Files Added

  • effect/copenhagen/copenhagen.py
  • effect/copenhagen/copenhagen_requirements.json
  • effect/copenhagen/__init__.py
  • effect/copenhagen/README.md
  • effect/copenhagen/screenshots/

Dependencies

qiskit >= 2.0.0 and qiskit_aer >= 0.17.0 — both installed by setup.sh.

@saadbhattii saadbhattii changed the title Add Copenhagen Brush: Quantum Wave Function Collapse add Copenhagen Brush: quantum wave function collapse Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Creative Challenge] Making Your Own Quantum Brush!

1 participant