Running live

Schrödinger’s Fly

A quantum computer hunting for SHA-256 collisions — in real time, typed in by a cat, with a fruit-fly brain firing alongside every step.

Grover’s algorithm Reduced-round SHA-256 Runs in your browser 3D / three.js
It’s running right now — watch below
Live now · autopilot is running attack after attack on its own
Ready
8 data qubits + 1 oracle ancilla · state |00000000⟩
amplitude colliding input (marked) reference table negative phase
Fly brain · neural activity0 spikes/s
Spontaneous firing

What you’re watching

Everything in the scene is driven by one live simulation. The 3D machine on the left is a quantum computer; the desk in front of it mirrors the same run on a screen, with a cat doing the typing; the panel in the corner is a fruit-fly brain lighting up in step with the maths.

The brain is driving the cat

The cat isn’t animated on its own — it’s wired to the fly brain. Each region’s spikes are fed to a different part of the cat’s body, so what you watch it do is the brain’s activity made physical. The meters in the brain panel are the same signals that move the muscles.

So the chain runs end to end: a gate in the quantum search stimulates a region, the region’s neurons spike, and a moment later the matching muscle moves. Watch a burst cross the brain panel and you’ll see the cat answer it.

How the search works

A collision means two different inputs with the same hash. The machine runs a quantum collision search — Brassard–Høyer–Tapp, built on Grover’s algorithm. In plain terms:

  1. Spread out. A Hadamard on every qubit puts the register into an equal mix of all 256 inputs at once.
  2. Mark the hits. The oracle runs reduced-round SHA-256 on the whole superposition and flips the phase of any input whose hash matches an entry in a small reference table.
  3. Reflect. A diffusion step reflects every amplitude about the average (the gold plane), nudging the marked inputs up. Mark-and-reflect repeats a handful of times.
  4. Measure & check. The register collapses to one input, and one ordinary hash call confirms whether it really collides. Autopilot then climbs a round and starts again.

Under the hood

A quick look at how it works.

Computed live, in your browser. Every amplitude on screen is a 256-state quantum state vector evaluated in JavaScript, step by step — reload and it runs fresh.

Real SHA-256. The hashing is the genuine algorithm and reproduces the official FIPS 180-4 test vectors (the hash of “abc”, and so on), so the digests on screen are the real thing.

Grover-based collision search. It marks the inputs whose hashes match, amplifies them with diffusion, and measures — the core of a quantum collision attack, animated gate by gate.

Built with three.js, and open. The 3D rig, the fly brain and the console are all one self-contained HTML file you’re free to read top to bottom.

About HashSmash

The visual is a nod to HashSmash, an open competition from Eigen Labs and Shielded Labs where people work with AI models to find cheaper collision attacks on reduced-round SHA-256, SHA-3 and BLAKE3, scored by estimated attack cost. This page is a tribute to that work.

See the HashSmash leaderboard →