Sign in
← Atlas
Exact & formalBasic circuitsMeasurement-based computing

One-dimensional cluster state

The canonical resource state for one-way (measurement-based) quantum computing: qubits in |+⟩ entangled by CZ along a line.

cluster statestabilizermeasurement-based computinggraph state

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

The cluster state trades the circuit model's sequence of unitary gates for a single entangling preparation followed by adaptive single-qubit measurements — the measurement pattern, not the entangling step, carries the computation.

Circuit & simulation
Stabilized by K₁…K₄100%
Uniform basis-string support6%
What this takes and returns
TakesNothingWhat joins here

Nothing goes in, and that is what this entry is: a pipeline starts here. There is no upstream to choose — what you pick is what comes after.

Nothing in the Atlas meets this end.

Returns4 qubitsWhat joins here

Returns a 4-qubit register a next stage can take. This is the end that joins.

1 entry lines up on shape, composition unverified. Named below.

Prepares a state. Nothing goes in, and what comes out is a register another stage can take. See all 12 →

Shapes fit after this, composition unverified 1

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.

Where the map uses this

This record is an instance of an object the map names, so these are the processes that consume or produce one. None of them is about this record in particular.

State you can prepare 5 of 33 processes

How it works

A 1D cluster state on nn qubits is prepared by

Cn=(i=1n1CZi,i+1)+n,+=0+12.|C_n\rangle = \Big(\prod_{i=1}^{n-1} \mathrm{CZ}_{i,i+1}\Big) |+\rangle^{\otimes n}, \qquad |+\rangle = \frac{|0\rangle+|1\rangle}{\sqrt2}.

Stabilizer generators. For the path graph with vertices 1,,n1,\dots,n, the state is the unique joint +1+1 eigenstate of the nn commuting generators

Ki=XijN(i)Zj,N(1)={2},  N(n)={n1},  N(i)={i1,i+1} otherwise.K_i = X_i \prod_{j \in N(i)} Z_j, \qquad N(1)=\{2\},\; N(n)=\{n-1\},\; N(i)=\{i-1,i+1\}\ \text{otherwise}.

For n=4n=4 explicitly: K1=X1Z2K_1 = X_1Z_2, K2=Z1X2Z3K_2 = Z_1X_2Z_3, K3=Z2X3Z4K_3 = Z_2X_3Z_4, K4=Z3X4K_4 = Z_3X_4. Each KiK_i squares to identity, all pairs commute (any two generators either share zero neighboring sites or share exactly two anti-commuting Pauli factors that cancel), and their product group has 2n2^n elements — the full stabilizer group of a pure nn-qubit state.

Why it is Clifford, not universal by itself. CZ and HH are both Clifford operations, so the cluster state itself carries no non-Clifford resource; it is entangling structure. Universality in the one-way model comes from the choice of measurement bases (rotated single-qubit measurements), which are adaptively chosen based on earlier outcomes — the classical feed-forward, not the resource state, injects non-Clifford power.

Physical significance. Raussendorf and Briegel's one-way quantum computer showed that any circuit can be compiled into: (1) prepare a large enough cluster state, (2) measure each qubit in a computed adaptive basis, (3) read off the answer from the final unmeasured qubits and classical corrections. This underlies photonic and superconducting measurement-based architectures where entangling gates are cheap up front and computation is pushed into measurement choices.

Implementation
Native
cluster_state_1d.py
from qiskit import QuantumCircuit
from qiskit.quantum_info import StabilizerState

def cluster_state_1d(n: int) -> QuantumCircuit:
    qc = QuantumCircuit(n)
    qc.h(range(n))
    for i in range(n - 1):
        qc.cz(i, i + 1)
    return qc

qc = cluster_state_1d(4)
stab = StabilizerState(qc)
print(stab.clifford.to_labels(mode="S"))
# ['+IIZX', '+IZXZ', '+ZXZI', '+XZII']  — K4..K1 in Qiskit's little-endian order,
# i.e. exactly the path-graph generators K_i = X_i prod_{j~i} Z_j.


FINAL_CIRCUIT = qc
Quantum vs classical

Classical baseline

Use a classical state-vector or matrix simulation at the same width, precision, and measurement objective.

Quantum claim

The quantum record demonstrates a state or operator behavior; it does not make classical simulation or communication costs disappear.

How to compare

Compare fidelity, samples, gate depth, noise, memory, and the cost of preparing and reading the state.

Declared gaps

Nobody has reviewed this record for gaps yet.

Literature & references
Quantum computing via measurements only2000 · Robert Raussendorf, Hans J. Briegel

Introduces the cluster state as a universal resource for measurement-based quantum computation.

arxiv.org/abs/quant-ph/0010033