Quantum Information

Entanglement As Structural Property

How To See It Yourself

Entanglement is not spooky action at a distance. From an information science perspective, it simply means that information is not stored locally in a variable, but in only the correlation between two variables.

by Frank Zickert
November 6, 2025
Entanglement As Structural Property

You've probably been told that to understand a system, you just have to take it apart. Break it into smaller pieces, analyze each piece carefully, and then put it all back together. That mindset works beautifully in classical physics and Machine Learning is an approach on solving problems by deriving the rules from data instead of explicitly programming.
Learn more about Machine Learning
Because the whole is just the sum of its parts.

But in A quantum system is any physical system that is subject to the laws of quantum mechanics, whereby quantities such as energy or spin can only assume discrete (quantized) values. Its behavior is described by a wave function that encodes the probabilities of possible measurement results.
Learn more about Quantum System
that rule quietly collapses. You can stare at each A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
In quantum computing, measurement is the process of extracting classical information from a quantum state. It collapses a qubit’s superposition into one of its basis states (usually or ), with probabilities determined by the amplitudes of those states. After measurement, the qubit’s state becomes definite, destroying the original superposition.
Learn more about Measurement
it perfectly, and still miss what's really going on. You’ll see noise where there’s actually order, and randomness where there’s structure. In Quantum Machine Learning is the field of research that combines principles from quantum computing with traditional machine learning to solve complex problems more efficiently than classical approaches.
Learn more about Quantum Machine Learning
that mistake can cripple your model before it even trains.

There’s a hidden wiring. There's a kind of structure that doesn’t live in the parts at all. It lives between them.


When the parts lie to you

Let’s see this for ourselves. ? builds two two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
systems in Qiskit:

  • one (a normal, uncorrelated pair),
  • and one pair (a A **Bell state** is one of four specific quantum states in which two qubits are **maximally entangled**, meaning their measurement outcomes are perfectly correlated no matter how far apart they are. Each Bell state represents a different pattern of correlation between the qubits. These states are fundamental in quantum information for testing **nonlocality** (violations of Bell’s inequality) and for protocols like **quantum teleportation**.
    Learn more about Bell State
    ).

We’ll then measure how each A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
looks , and how they .

entanglement.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from qiskit import QuantumCircuit
from qiskit.quantum_info import Statevector, SparsePauliOp
 
 
def expval(state, pauli_label):
"""Compute <state|P|state> for a Pauli operator like 'Z', 'ZI', 'ZZ'."""
op = SparsePauliOp.from_list([(pauli_label, 1.0)])
return float(state.expectation_value(op))
 
 
# --- 1) Product (separable) state |00| ---
prod = QuantumCircuit(2)
psi_prod = Statevector.from_instruction(prod)
 
print("Product |00|:")
print(
"<Z0> =",
expval(psi_prod, "ZI"),
"<Z1> =",
expval(psi_prod, "IZ"),
"<Z0Z1> =",
expval(psi_prod, "ZZ"),
)
 
# --- 2) Entangled (Bell) state |Φ+> = (|00> + |11>)/√2 ---
bell = QuantumCircuit(2)
bell.h(0) # create superposition on qubit 0
bell.cx(0, 1) # link qubit 0 and 1
psi_bell = Statevector.from_instruction(bell)
 
print("\nBell |Φ+> :")
print(
"<Z0> =",
expval(psi_bell, "ZI"),
"<Z1> =",
expval(psi_bell, "IZ"),
"<Z0Z1> =",
expval(psi_bell, "ZZ"),
)
Listing 1 Creating two exemplary circuits

? depicts the output when running the above code.

output
1
2
3
4
5
Product |00|:
= 1.0 = 1.0 = 1.0
 
Bell |Φ+> :
= 0.0 = 0.0 = 0.9999999999999998
Listing 2 Output of the two circuits

What does this tell us?

In the product state, everything behaves as expected: each A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
gives a clean , and so does their joint measurement.

In the Bell state, the single-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
results look completely random on their own. B are . But the joint observable ZZ is again, perfectly correlated.

You’re looking at the same two A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
. Each one looks noisy. Together, they show perfect order.

That’s the first sign that the usual analyze-the-parts instinct doesn’t work here.


The whole is more than the parts

Let’s look deeper. What if we try to describe just one A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
from that Bell pair. As if we had access to only half the system?

The code in ? performs a partial trace. This is a standard method for examining a single subsystem (one A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
) of a larger entangled state such as a Bell pair. The results it produces illustrate a fundamental feature of entanglement: how global order can coexist with local randomness.

entanglement_structure.py
1
2
3
4
5
6
7
8
9
10
11
12
import numpy as np
from qiskit.quantum_info import DensityMatrix, partial_trace
 
rho_bell = DensityMatrix(psi_bell)
rho_A = partial_trace(rho_bell, [1])
rho_B = partial_trace(rho_bell, [0])
 
# Get eigenvalues using numpy
eigenvals = np.linalg.eigvals(rho_A.data)
 
print("Trace of rho_A =", rho_A.trace())
print("Spectrum of rho_A =", eigenvals)
Listing 3 Partial analysis of a Bell State

This code produces the output denoted in ?

1
2
Trace of rho_A = (0.9999999999999998+0j)
Spectrum of rho_A = [0.5+0.j 0.5+0.j]
Listing 4 Partial analysis of a Bell State

The Bell state we produce here is . It is a pure two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
state. Its density matrix completely describes a perfectly ordered system. There is no uncertainty if you look at the whole thing. , rho_bell = DensityMatrix(psi_bell) constructs this full two-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
description.

The effectively ignores A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
and asks, what is the state of A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
alone?
This operation traces out the degrees of freedom of A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
. The resulting object, rho_A, is a reduced density matrix describing A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
as viewed in isolation. Similarly, rho_B = partial_trace(rho_bell, [0]) the state of A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
alone.

The result is a maximally mixed single-A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
state.Two things stand out:

  • The trace being confirms rho_A is a properly Normalization in quantum computing means that the total probability of all possible outcomes of a quantum state must equal 1. Mathematically, if a quantum state is written as a vector of complex amplitudes, the sum of the squares of their magnitudes must be 1. This ensures that when the quantum state is measured, one of the possible outcomes will definitely occur.
    Learn more about Normalization
    A quantum state is the complete mathematical description of a quantum system, containing all the information needed to predict measurement outcomes. It’s usually represented by a wavefunction or a state vector in a Hilbert space. The state defines probabilities, not certainties, for observable quantities like position, momentum, or spin.
    Learn more about Quantum State
  • The eigenvalues [0.5, 0.5] reveal that A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
    Learn more about Quantum Bit
    0 is in a maximally mixed state. It has equal probabilities of being is a basis state.
    Learn more about
    or is a basis state.
    Learn more about
    , with no preference.

This is not noise or error; it is precisely what we expect from an entangled system.

Each A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
alone carries no definite information, because the meaningful information resides entirely in their correlation.

If you measure A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
0 by itself, you get random outcomes: half is a basis state.
Learn more about
, half is a basis state.
Learn more about
.

But if you measure both A qubit is the basic unit of quantum information, representing a superposition of 0 and 1 states.
Learn more about Quantum Bit
together, you always obtain perfectly correlated results. You either get 00 or 11. So, while each part appears random, the pair behaves in a completely ordered way.

This is the hallmark of entanglement as structure:

  • The global state is pure and well defined.
  • Each local subsystem appears noisy and uncertain.
  • The actual information is encoded in the pattern of correlation between subsystems.

Information lives in the correlations

If you only measure local quantities, you’ll see nothing useful. But if you measure correlations, suddenly everything makes sense.

Join to continue

This part is available to PyQML researchers only. Log in or start a subscription to unlock member content.

Already a member? Use Log in. New here? Choose Subscribe.