← Atlas

Basic circuits · Entanglement benchmark

GHZ chain benchmark · 16 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
  • Steps16
  • Wires16
  • Qubits16
  • Operations16
  • Framework exports7
  • Papers1
  1. H on q0
  2. CX on q0, q1
  3. CX on q1, q2
  4. CX on q2, q3
  5. CX on q3, q4
  6. CX on q4, q5
  7. CX on q5, q6
  8. CX on q6, q7
  9. CX on q7, q8
  10. CX on q8, q9
  11. CX on q9, q10
  12. CX on q10, q11
  13. CX on q11, q12
  14. CX on q12, q13
  15. CX on q13, q14
  16. CX on q14, q15

References

Strong empirical
  • Verified by construction
  • Peer-reviewed paper
Method
Deterministic portable-gate construction plus catalog schema validation
Result
Pass · 16 qubits and 16 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
GHZentanglementbenchmark16 qubitsseven-framework export

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