← Atlas

Basic circuits · Stabilizer states

Graph state on a four-node ring

A graph state built on a 4-cycle rather than an open chain, illustrating how stabilizer generators follow directly from graph adjacency.

Exact & formalUpdated

View frozen graph

q[0]q[1]q[2]q[3]Step 1 of 8 · H · on q[0]HStep 2 of 8 · H · on q[1]HStep 3 of 8 · H · on q[2]HStep 4 of 8 · H · on q[3]HStep 5 of 8 · CZ · on q[0], q[1]CZStep 6 of 8 · CZ · on q[1], q[2]CZStep 7 of 8 · CZ · on q[2], q[3]CZStep 8 of 8 · CZ · on q[0], q[3]CZ

8 steps across 4 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • Stabilized by K₀…K₃100%
  • Uniform basis-string support6%
  • Steps8
  • Wires4
  • Qubits4
  • Depth1 layer H + 4 CZ
  • Stabilizer generators4 (weight 3 each)
  • Papers1

For a graph G=(V,E)G=(V,E), the graph state is

∣G⟩=(∏(i,j)∈ECZij)∣+⟩⊗∣V∣.|G\rangle = \Big(\prod_{(i,j)\in E} \mathrm{CZ}_{ij}\Big)|+\rangle^{\otimes |V|}.

For the 4-cycle C4C_4 with edges {01,12,23,30}\{01,12,23,30\}, every vertex has exactly two neighbors, and the stabilizer generators are

K0=X0Z1Z3,K1=X1Z0Z2,K2=X2Z1Z3,K3=X3Z0Z2.K_0 = X_0 Z_1 Z_3,\quad K_1 = X_1 Z_0 Z_2,\quad K_2 = X_2 Z_1 Z_3,\quad K_3 = X_3 Z_0 Z_2.

Contrast with the open chain. The path-graph cluster state's end qubits have only one neighbor (generators X1Z2X_1Z_2 and Zn−1XnZ_{n-1}X_n have weight 2), while every ring generator has weight 3 — the extra wrap-around edge removes the boundary effect and makes the stabilizer group translationally invariant under cyclic qubit relabeling.

Verification structure. Because GG is bipartite and CZ is diagonal, KiK_i's commute pairwise: two generators either act on disjoint qubits, or share exactly the pair of sites where one contributes XX and the other ZZ on the same site, and XZ=−ZXXZ = -ZX on that one shared site is compensated by the same relation on the other shared site, giving an overall commutator of (−1)2=1(-1)^2=1. This is the general argument for why any graph state's generator set {Kv=Xv∏u∈N(v)Zu}\{K_v = X_v\prod_{u\in N(v)}Z_u\} is a valid stabilizer group — it does not depend on the specific graph topology, only on CZ being diagonal and self-inverse.

Significance. Ring graph states are the standard test case for verifying entanglement-witness and stabilizer-measurement protocols on ring-connectivity hardware (many superconducting and trapped-ion layouts are natively rings or short chains), and they are the resource state for small quantum repeater and secret-sharing demonstrations.

References

Exact & formal
  • Stabilizer simulation
  • Verified by construction
  • Peer-reviewed paper
Method
The circuit applies H on every wire and CZ along every edge of the 4-cycle graph (including the wrap-around edge 3–0). The resulting stabilizer tableau's 4 generators K_i = X_i Z_{i-1} Z_{i+1} (indices mod 4) were propagated through the Clifford circuit and checked to commute pairwise and to fix the prepared state.
Result
Pass · all 4 ring-graph generators commute and stabilize the prepared state, distinguishing it from the open-chain cluster state by the extra wrap-around edge.
Multiparty entanglement in graph states ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
graph statestabilizerring topologyentanglement witness

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