Quantum Lab
Quantum Lab

An interactive quantum mechanics learning platform and cryostat wiring co-design tool. From plain-language intuition to formal mathematics.

contact@quantumcircuitsimulator.com

Product

  • Circuit Lab
  • Learn
  • Hardware Studio
  • Pricing

Legal

  • Privacy Policy
  • Terms of Service

© 2026 Quantum Lab. All rights reserved.

This site, including its original quantum simulations, cryostat reference systems, 3D models, and interface design, contains protected proprietary material.

Home/Quantum Physics/Lessons/GHZ State
{λ}

GHZ State

intermediate3 qubits~8 min

Three-qubit entanglement that refutes local realism

The question

How does three-qubit entanglement differ from two-qubit entanglement, and why does it provide a stronger test of quantum mechanics?

Why this matters

The Greenberger-Horne-Zeilinger (GHZ) state extends Bell states to three qubits and reveals an even more dramatic departure from classical physics. While Bell states require statistical analysis over many measurements to show non-classicality, the GHZ state provides a single-shot contradiction with classical local realism. GHZ states are used in quantum error correction, multiparty quantum communication, and as benchmarks for quantum hardware.

Intuition

The GHZ state (|000⟩+|111⟩)/√2 is like a Bell state scaled up: all three qubits are either all 0 or all 1, with nothing in between. Each qubit individually looks completely random, but measuring any one instantly tells you what the other two will be. The state is genuinely three-way entangled — it cannot be decomposed into any pair being entangled while the third is independent.

Key insight

GHZ states demonstrate genuine multipartite entanglement. Unlike W states (where pairs remain entangled if one qubit is lost), losing any single qubit of a GHZ state completely destroys the entanglement between the remaining two.

Circuit
Open in simulator →
q0q1q2HCXCX
▶ Try it in the simulator
Step-by-step walkthrough
1

Initialize |000⟩

All three qubits start in |0⟩. No entanglement.

∣000⟩
2

Apply H to qubit 0

Put the first qubit in superposition. The state is now (|0⟩+|1⟩)/√2 ⊗ |00⟩.

2​∣000⟩+∣100⟩​
3

Apply CNOT(q0, q1)

Entangle qubit 0 with qubit 1. The |1⟩ branch flips qubit 1.

2​∣000⟩+∣110⟩​
4

Apply CNOT(q0, q2)

Extend the entanglement to qubit 2. The |11⟩ branch flips qubit 2. Now all three qubits are entangled.

2​∣000⟩+∣111⟩​=∣GHZ⟩
5

Measure all three qubits

You get 000 or 111, each with 50% probability. No other outcomes ever appear. All three qubits are perfectly correlated.

What the measurement tells you

Outcomes 000 and 111 with equal probability (never 001, 010, 011, 100, 101, 110) confirm the GHZ state. Any deviation indicates noise or decoherence.

Precise explanation

The GHZ state |GHZ⟩ = (|000⟩+|111⟩)/√2 is a three-qubit state with the property that tracing out any one qubit leaves the other two in a completely mixed state ρ = (|00⟩⟨00|+|11⟩⟨11|)/2, which is classically correlated but not entangled. This fragility is what makes GHZ entanglement genuinely tripartite. The GHZ argument shows that for certain measurement settings, quantum predictions are deterministic (not just statistical) while any local hidden variable theory predicts the wrong answer.

Classical approach

Classically, you could prepare three coins to be all-heads or all-tails, but they would have definite values. The GHZ argument shows that no classical pre-agreement can reproduce all quantum predictions.

Quantum approach

The GHZ state has no definite values before measurement. Certain measurement combinations give deterministic outcomes that contradict any local hidden variable assignment — not statistically, but with certainty.

Common misconception

GHZ is not just “a bigger Bell state.” Its entanglement is qualitatively different: it is fragile (losing one qubit destroys all entanglement) and provides a logical (not statistical) proof against local realism.

Where this leads

GHZ states generalize to n-qubit cat states (|00…0⟩+|11…1⟩)/√2, which are central to quantum error correction and quantum metrology.

Prerequisites
H gate →CNOT gate →
Test your understanding

If you lose (trace out) one qubit from a GHZ state, what happens to the entanglement between the remaining two?

▶ Try it in the simulator↗ Nielsen and Chuang, Quantum Computation and Quantum Information↗ MIT OCW 8.06: entanglement notes
←
Previous
Superdense Coding
← Back to all lessons