Skip to main content

h + AI + qu

Quantum Haiku

Nine qubits. Three lines. Five-seven-five.

A haiku holds two states of love at once until the reader collapses it into one. Measure in the Z-basis and you read presence — love that is here. Measure in the X-basis and the same qubits give you absence — love remembered. The constraint of the form — seventeen syllables, three lines — matches the hardware exactly: nine qubits, three groups of three bits.

Here is a quantum state, prepared on 9 superconducting qubits. It contains two haiku. You can only read one at a time.

The haiku exists in superposition. Choose a lens to collapse it.

Poetic Devices as Quantum Operations

Poets have always done what quantum computers do: hold contradictions, bind distant things, make the act of observation part of the meaning. The mapping below isn't a metaphor. It's a dictionary.

AmbiguitySuperpositionA word means two things at once. A qubit is two states at once. Both collapse when you look.
RhymeEntanglementTwo distant words become bound by sound. Hear one and you already know something about the other, no matter how far apart they are.
MetaphorCNOT gate"My love is a red rose" — now love and rose are entangled. You can't read one without the other changing.
EnjambmentDelayed measurementThe line breaks before the meaning resolves. You hold the superposition across the white space, then the next line collapses it.
VoltaHadamard gateThe sonnet's turn: everything you've read is re-measured in a new basis. Same words, different meaning.
KirejiEntanglement topologyThe cutting word splits a haiku into two halves that comment on each other. In the circuit, entanglement topology determines which qubits are correlated — which lines speak to each other across the cut.
RepetitionMeasure-rotate-remeasureA refrain returns but the poem has changed around it, so the same words give a different reading.
AllusionEntanglement with external systemThe poem becomes correlated with another text. Read one and the other haunts it.
TonePhaseTwo poems can use the same words at the same frequency and mean opposite things. Tone is invisible to counting — it only shows up in how meanings interfere.
Formal constraintHilbert space dimensionA haiku has 17 syllables. Nine qubits give three groups of three bits — three lines. The restriction makes what emerges more meaningful, not less.
Poetic structureEntanglement across subsystemsThe first and last lines of a haiku echo each other while the middle line stands alone. In the circuit, Bell pairs bind distant qubits while the middle qubits stay unentangled — the correlation is structural, not carried line-by-line.

Three examples

Superposition → Ambiguity

“I left the bank at closing time”

This line is in superposition. It means two things at once — the river bank and the financial bank — and you hold both readings simultaneously until something later in the poem forces you to choose. That's collapse.

On a quantum computer, this is a qubit in the state |0⟩ + |1⟩. Both values are real and present. Measurement gives you one. Good poets keep you in superposition as long as possible.

Entanglement → Rhyme

When you are here the touch runs warm against the walls

the quiet evening finds its way slowly home

This couplet was generated by two entangled qubits. Each qubit independently chose between “you/your ghost” — but because they were entangled, when one said “you”, its partner was guaranteed to say “warm”. The two lines are correlated without either one “causing” the other.

Rhyme works the same way. “Walls” at the end of line one doesn't cause “home” at the end of line two — but once you hear one, the other becomes inevitable. The correlation between distant words is the poem's structure.

Delayed measurement → Enjambment

the room holds nothing but us

the door stays open

At the end of the first line, “nothing but us” is in superposition — the nothing of emptiness? Of sufficiency? Of isolation? The line break is a moment of suspension. You hold the ambiguity across the white space. Then “the door stays open” collapses it: the nothing is fullness, the room holds everything that matters, and the door is an invitation.

This is delayed measurement. The qubit is prepared, but we wait to measure it. In the gap, the superposition is real. The next line is the measurement that resolves it into a definite meaning.

Write a Haiku with Entanglement

Pick a first line. The last line is sampled from a distribution measured on quantum hardware — 4,096 shots from three Bell pairs on Tuna-9. The middle line is free: those qubits were never entangled with anything.

87% of the time, the first and last lines match — the entanglement held. 13% of the time, hardware noise breaks the correlation, and you get an unexpected pairing. Technically, you're sampling from a stored histogram. But the distribution itself is certifiably non-classical: a CHSH test on the same circuit violates Bell's inequality at 38.8σ. No classical process could have produced these statistics.

First line — 5 syllables

Last line — 5 syllables

Click any first line or any last line to begin.

The LLM Connection

Every time a language model picks the next word, it collapses a probability distribution. That's already a measurement process. Quantum hardware makes it literal.

Token generationAn LLM writes one word at a time. Each word collapses possibilities for every word that follows — sequential measurement.
TemperatureHow spread out the probability is before collapse. Low temperature: predictable. High temperature: surprising, strange.
Top-k samplingHow many candidate words are allowed. A haiku allows fewer possibilities than free verse. Constraint shapes meaning.
EntanglementPoetry's core challenge: each word should be locally surprising but globally coherent. Entanglement is exactly this — maximum local uncertainty, maximum global correlation.
The hybridA quantum-LLM poet could use entanglement to keep a haiku structurally coherent while letting each line be as strange as high temperature allows.

Example: temperature as probability spread

Low temperature (0.3) — predictable, safe

“The morning sun rose over the quiet hills”

Medium temperature (0.8) — interesting, risky

“The morning sun rose over the rusted hymns”

High temperature (1.5) — strange, unconstrained

“The morning sun velocity the crumpled psalms”

Poetry lives in the middle — surprising enough to feel alive, coherent enough to mean something. The problem is that temperature is a single dial. Entanglement could give each line of a haiku its own temperature while keeping the whole poem structurally bound.

Experiments

Not haiku about quantum mechanics — haiku that are quantum. Each experiment uses a different quantum state to shape the poem's structure in ways no classical process can replicate.

GHZ-9 Haiku

9-qubit GHZ state · Tuna-9 hardware · 4,096 shots

hardware

Nine qubits, perfectly entangled: when you measure them, they all agree. All zeros or all ones — nothing in between. Two possible haiku, held in superposition until the moment of reading. The poem is both until it's one.

|000000000⟩ — 1427 shots

morning light through glass

I learn your breathing by heart

the kettle exhales

|111111111⟩ — 936 shots

plums warm from the tree

your hand rests where the light falls

smoke curls from the roof

Bell Couplets

4 Bell pairs · 8 qubits · qxelarator emulator · 1,024 shots

emulator

Four pairs of entangled qubits, each pair controlling one axis of meaning: subject, sensation, warmth, destination. Within each pair, the correlation is perfect — if one qubit says “you”, its partner always says “warm”. Between pairs, nearly zero correlation. Independent choices, bound together.

The binding between each pair's lines is stronger than any classical random process could produce — certifiably quantum. These couplets rhyme by entanglement, not by choice.

When you are here the touch runs warm against the walls

the quiet evening finds its way slowly home

key: 0000 · 65 shots

When your ghost is here the ache runs dim against the walls

the quiet evening finds its way into bone

key: 1101 · 71 shots

When you are here the ache runs warm against the walls

the quiet evening finds its way into bone

key: 0110 · 68 shots

When your ghost is here the touch runs dim against the walls

the quiet evening finds its way slowly home

key: 1011 · 51 shots

Love as Superposition

9 qubits · Tuna-9 hardware · 12,288 shots · Valentine's Day 2026

hardware

One quantum state, two ways of reading it. Measure one way and you get a haiku of presence — love that is here, now, in the room. Measure the other way — the same state, the same qubits — and you get a haiku of absence — love remembered, love at a distance. Neither reading is more real than the other. You can't read both at once. This is complementarity: the quantum principle that some truths are mutually exclusive but jointly exhaustive.

A third circuit uses a GHZ state for the all-or-nothing: every qubit agrees, so you get only two haiku — full presence or full intensity, never a mix. 659 unique haiku emerged from 12,288 measurements on Tuna-9 hardware.

Presence (Z-basis) — most probable — 8.2%

morning light through glass

I learn your breathing by heart

the kettle exhales

337 of 4,096 measurements

Top 10 haiku by probability

morning light through glass8.2%morning light through glass5.0%morning light through glass4.3%morning light through glass3.6%morning light through glass3.3%morning light through glass3.0%morning light through glass2.3%your laugh, sudden rain2.2%morning light through glass2.2%morning light through glass2.1%

Measure

Draw a haiku from the real hardware distribution. Each click samples from 4,096 measurements made on Tuna-9 — weighted by how often the hardware actually produced each outcome. Common haiku appear often. Rare haiku are genuinely rare.

Interference Draft

The same 9-qubit state, measured through a rotating lens. At θ=0, you read presence. At θ=π/2, absence. In between, the two readings interfere — not blending, but amplifying some haiku and canceling others. This is genuine quantum interference on a poem.

At θ=π/4 (maximum interference), the distribution is flattest: 409 unique haiku, 7.54 bits of entropy. The most probable haiku drops to just 5.1%. Meaning is maximally uncertain — the poem is still being written.

presenceinterferenceabsence
307 unique haiku6.67 bits entropytop: 8.2%

morning light through glass

I learn your breathing by heart

the kettle exhales

|000000000⟩ — 337 of 4,096 shots (8.2%)

Top 10 haiku by probability

morning light through ...
8.2%

Tuna-9 hardware · Rz(2θ)+Ry(θ) pre-measurement rotation · native gate set · CompileStage.ROUTING · 4,096 shots per angle

Decoherence Gradient

A GHZ state should produce exactly two haiku — all qubits agree, so you get one love poem or its mirror. As the entanglement chain grows longer, the qubits lose coherence. The haiku dissolves.

At 3 qubits (2 CZ gates), 86.5% of measurements land on the two ideal haiku. By 9 qubits (8 CZ gates), only 57.7% do. The rest leak into 152 intermediate states — haiku the circuit never intended, written by the hardware's imperfections.

GHZ-3

3 qubits · 2 CZ gates
86.6% fidelity
43 unique haiku1.953 bits entropy

|000000000⟩ — 1920 shots (46.9%)

morning light through glass

I learn your breathing by heart

the kettle exhales

|000011010⟩ — 1625 shots (39.7%)

peaches on the sill

we hold still and the world turns

the kettle exhales

decoherence leaks

150

peaches on the sill / nothing needs to be explained / the kettle exhales

54

morning light through glass / we hold still and the world turns / the kettle exhales

46

morning light through glass / the kitchen fills with slow steam / the kettle exhales

GHZ-5

5 qubits · 4 CZ gates
81.1% fidelity
60 unique haiku2.339 bits entropy

|000000000⟩ — 1849 shots (45.1%)

morning light through glass

I learn your breathing by heart

the kettle exhales

|000111110⟩ — 1472 shots (35.9%)

bread rising all night

your hand rests where the light falls

the kettle exhales

decoherence leaks

172

bread rising all night / something in us knows to stay / the kettle exhales

72

the dog knows your step / your hand rests where the light falls / the kettle exhales

50

morning light through glass / the kitchen fills with slow steam / the kettle exhales

GHZ-7

7 qubits · 6 CZ gates
75.7% fidelity
98 unique haiku2.751 bits entropy

|000000000⟩ — 1854 shots (45.3%)

morning light through glass

I learn your breathing by heart

the kettle exhales

|110111110⟩ — 1247 shots (30.4%)

bread rising all night

your hand rests where the light falls

the cat knows our bed

decoherence leaks

159

bread rising all night / something in us knows to stay / the cat knows our bed

81

the dog knows your step / your hand rests where the light falls / the cat knows our bed

79

bread rising all night / your hand rests where the light falls / our coats share one hook

GHZ-9

9 qubits · 8 CZ gates
57.7% fidelity
152 unique haiku3.688 bits entropy

|000000000⟩ — 1427 shots (34.8%)

morning light through glass

I learn your breathing by heart

the kettle exhales

|111111111⟩ — 936 shots (22.9%)

plums warm from the tree

your hand rests where the light falls

smoke curls from the roof

decoherence leaks

360

morning light through glass / the kitchen fills with slow steam / the kettle exhales

297

plums warm from the tree / something in us knows to stay / smoke curls from the roof

77

bread rising all night / your hand rests where the light falls / smoke curls from the roof

Each additional CZ gate extends the entanglement chain by one qubit and costs roughly 3.6% fidelity. The decoherence rate per gate: ~5.4%/CZ. At 9 qubits, nearly half the haiku has dissolved into noise — but the noise itself carries meaning the circuit never intended.

Tuna-9 hardware · Hamiltonian path q3→q1→q4→q2→q5→q7→q8→q6 · native CZ+Ry+Rz gate set · 4,096 shots each

Research Roadmap

Phase 1: Foundations

Love word banks (5-7-5)
lambeq exploration
Classical vs. quantum baseline

Phase 2: Core Experiments

Complementary haiku (Z/X basis)
Entangled couplets (Bell pairs)
Quantum-temperature poetry
Decoherence gradient

Phase 3: Advanced

Circuit poem (circuit = score)
Interference draft
lambeq poetry encoding
Non-local haiku (Bell poetry)

Phase 4: Synthesis

Interactive web experience
Research paper
Exhibition / live performance
Open-source release

Key Research Questions

Q1

Can you feel the difference? If we show readers quantum-entangled haiku and classically-random haiku, can they tell which is which?

Q2

Can a quantum circuit encode a haiku's meaning — not just generate words, but represent the semantic structure of a sentence as a quantum state?

Q3

Can we prove a haiku is non-classical? Bell inequality violations certify that correlations are stronger than any classical process could produce. Can the same test certify a poem?

Q4

What happens when quantum measurements control an LLM's temperature — the wildness of its word choices — with entanglement enforcing structure across lines?

Q5

Is decoherence just a metaphor for losing meaning, or can we use it as an editing tool — watching a haiku dissolve to find which parts survive?

Q6

Can a quantum circuit diagram work as a musical score for poetry — a notation system where the circuit is the poem and each execution is a performance?