A SMALL EXPERIMENT IN SCIENCE + ART
New Wavefunction Music.
A circuit has rhythm, layers, and transformations.
Here, you can hear them.
THE CIRCUIT SEQUENCER
Listen. Change a gate. Make it yours.
One answer. Eight possibilities. Start with 000, mark 101, then amplify its chance of appearing. Listen for the two repeating search rounds.
Sound follows the gates; it does not represent measurement results.AFTER THE LAST GATE
The state behind the sound.
The quantum-state view will appear when the circuit loads.
Explore a qubit
IDEAL · NOISELESSThe arrow’s direction and length describe the qubit’s state, including its phase information and 0/1 probabilities.
Most likely readouts
Z BASISBitstrings read from the highest-numbered qubit to q0. Bars are scaled to the most likely outcome.
TRY A MEASUREMENT
See the full product state
Each factor is α|0⟩ + β|1⟩. These complex amplitudes specify the full state up to one overall global phase. Values below are rounded to six decimal places.
| Qubit | α · amplitude of |0⟩ | β · amplitude of |1⟩ |
|---|
How the state is calculated
Every qubit starts in |0⟩. The calculation applies standard quantum gate matrices in order of their positions on the timeline, using each rotation’s angle in radians. Note lengths, tempo, and velocity affect the sound only. Idle time adds no evolution in this ideal model.
The song’s single-qubit gates leave a product state. Multi-qubit edits can create entanglement. This browser calculation supports up to 12 qubits in each connected group and 256 qubits in total. It reports the state before final measurements; circuits with intermediate measurements are not analyzed.
The measurement button samples the calculated Z-basis probabilities from a fresh preparation each time. It does not run on quantum hardware. See IBM’s qubit ordering guide.
HOW TO USE THE TOOL
A melody.
A circuit. A connection.
Choose a preset and press Play circuit. Start with Can You Hear the Music, Avril 14th, or Grover’s search. Pause keeps your position; Stop returns to the beginning.
Drag the playback slider to jump to another moment in the song. Open View the sheet music to follow the arrangement.
Choose a stage button to jump to preparation, either search round, or measurement. The current stage stays highlighted during playback.
Navigate the circuit. Scroll horizontally along the timeline and vertically through the qubit wires. Adjust Zoom for a closer view. Turn on Follow playhead to keep the current moment visible.
Make a variation. Select a gate, change its type, rotation angle or note length, then choose Apply to selected. Click an empty position on a wire to add a gate, or choose Delete gate to remove the selected gate. Use + 8 bars and + Qubit to expand the circuit.
Inspect the final state. Open Explore final state to view qubit states and readout probabilities. Select a qubit to inspect it, try Measure once, or choose Download state JSON to save the complete state. Results update when you edit the circuit.
Start again. Choose Restore song or Restore algorithm to reload the selected preset. Random creates a short circuit; Clear empties the circuit. Changes are temporary and reset when you reload the page or load another preset.
How gates become sound
A gate’s position sets its note’s onset, and its length sets the note’s duration. Rotation angles select pitches; fixed gates use assigned tones. Single-qubit gates play individual tones, CNOT, SWAP and Toffoli gates produce chords, and measurement gates add low tones.
Use the final-state panel to explore the quantum calculation separately. It applies the gate matrices to an all-zero initial state; note length, tempo and velocity affect the audio only.