Level 3

Entanglement

An entangled joint state cannot be written as a mixture of product states. The ideal Bell example has correlated computational-basis outcomes, each individually random.

Visualize

00011011

A Bell pair mostly returns matching results: 00 or 11.

Understand

H creates uncertainty; CNOT links the second qubit to the first.

Why it matters

Entanglement powers teleportation, error correction, and many algorithmic speedups.

Misconception

Entanglement does not let you send faster-than-light messages.

Apply

Run Bell and inspect the 00/11 correlations. Those counts alone are not a general entanglement witness.

Example DSL

# Bell
qubits 2
H 0
CX 0 1
MEASURE 0
MEASURE 1

Quick check

In the Bell sample, which outputs should dominate?

Full DSL specification →