← Atlas

Basic circuits · Entanglement benchmark

GHZ chain benchmark · 3 qubits

A width-scaled GHZ preparation circuit with one Hadamard and a nearest-neighbor CNOT chain.

Strong empiricalUpdated

View frozen graph

A small worked example, computed in your browser. It is not a result from this record's papers.

A 4-qubit GHZ state

4 qubits, preparing (|0000⟩ + |1111⟩) / √2.

q0q1q2q3Step 1 of 4 · HHStep 2 of 4 · CXCXStep 3 of 4 · CXCXStep 4 of 4 · CXCX

Step 1 of 4 · H

Probability of each outcome after this step

  • 000050%
  • 000150%
  1. Puts qubit 0 into an equal superposition of |0⟩ and |1⟩. The other three are still plain |0⟩.

    Probability spreads from 1 outcome to 2. All 2 are equally likely.

  2. Copies qubit 0's value onto qubit 1 — not by reading it, which would destroy the superposition, but by making the pair agree in both branches at once.

    Probability moves: 1 outcome appears that had none, 1 drops to zero, 2 carry probability now. Up: 0011 0.0% → 50.0%. Down: 0001 50.0% → 0.0%. This is the step that entangles the qubits: from here on no single qubit has a state of its own, only the register as a whole does.

  3. The same again onto qubit 2: the agreement extends down the chain one qubit at a time.

    Probability moves: 1 outcome appears that had none, 1 drops to zero, 2 carry probability now. Up: 0111 0.0% → 50.0%. Down: 0011 50.0% → 0.0%.

  4. And onto qubit 3, closing the chain. All four now agree in both branches, which is what makes this a GHZ state rather than four separate superpositions.

    Probability moves: 1 outcome appears that had none, 1 drops to zero, 2 carry probability now. Up: 1111 0.0% → 50.0%. Down: 0111 50.0% → 0.0%.

Readout Measuring all four qubits always gives 0000 or 1111, each about half the time.

Open in Studio
  • Steps3
  • Wires3
  • Qubits3
  • Operations3
  • Framework exports7
  • Papers1
Takes3 qubitsassumed |0…0⟩What joins here

Takes a 3-qubit register, and this entry's published behaviour was measured from |0…0⟩. Putting another stage in front is a defined circuit and is no longer the thing this entry measured — the results on this page were not produced that way.

6 entries line up on shape, composition unverified. Named below.

Returns3 classical bitsWhat joins here

Returns 3 classical bits. Nothing in this catalogue takes classical bits, so this end closes a pipeline rather than continuing one — what is worth having here is the measurement, not a register to pass on.

Nothing in the Atlas meets this end.

A whole program rather than a stage: it begins on |0…0⟩ and ends by measuring every qubit, so what it returns is classical bits. Nothing in this catalogue takes classical bits, so nothing follows it. See all 30 →

Shapes fit before this, composition unverified 6

The widths and types line up. What is not established is everything a width does not carry — the basis convention, the normalisation, the state each was written to start from — so this is not a claim that the two compose.

References

Strong empirical
  • Verified by construction
  • Peer-reviewed paper
Method
Deterministic portable-gate construction plus catalog schema validation
Result
Pass · 3 qubits and 3 pre-measurement operations emit non-empty Qiskit, PennyLane, Cirq, CUDA-Q, Amazon Braket, OpenQASM 3.0, and PyQuil source.
Caveat
This is a parameterized Leona Quantum benchmark scaffold informed by the cited suite, not an upstream benchmark file or a hardware result.
MQT Bench: Benchmarking Software and Design Automation Tools for Quantum Computing ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
Citation metadata; Leona Quantum-authored scaffold
GHZentanglementbenchmark3 qubitsseven-framework export

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.