Sign in
← Atlas
Exact & formalOperatorsThermal state preparation

Maximally mixed state I/2ⁿ

The maximally mixed state ρ = I/2ⁿ: the unique n-qubit state invariant under every unitary, carrying zero information and maximal (n-bit) von Neumann entropy.

maximally mixed statemixed stateunitary invariancevon neumann entropy

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

Every mixed-state construction in this catalog has the maximally mixed state as a limiting or reference case: it is the infinite-temperature limit of any Gibbs state, the reduced state of half a maximally entangled pair, and the fixed point of complete depolarization — making it the natural 'zero information' baseline against which every other state's purity and entanglement are measured.

Circuit & simulation
Each basis string (n=2)25%
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.

Returns2 qubitsWhat joins here

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

12 entries meet this end. Named below.

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

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

The maximally mixed state on nn qubits is

ρ=I2n=12nx{0,1}nxx.\rho = \frac{I}{2^n} = \frac{1}{2^n}\sum_{x\in\{0,1\}^n} |x\rangle\langle x|.

Unitary invariance. For any unitary UU, UρU=UI2nU=UU2n=I2n=ρU\rho U^\dagger = U\frac{I}{2^n}U^\dagger = \frac{UU^\dagger}{2^n} = \frac{I}{2^n} = \rho. This is the only nn-qubit state with this property (any other state has some eigenbasis with unequal eigenvalues, and a unitary rotating that eigenbasis changes the state), which is why I/2nI/2^n represents complete ignorance: no measurement in any basis, and no unitary transformation, can extract or reveal any information from it.

Maximal entropy. The von Neumann entropy S(ρ)=Tr(ρlog2ρ)=x12nlog212n=nS(\rho) = -\mathrm{Tr}(\rho\log_2\rho) = -\sum_x \frac{1}{2^n}\log_2\frac{1}{2^n} = n bits, the maximum possible for an nn-qubit system (achieved uniquely by I/2nI/2^n, exactly analogous to a uniform classical distribution maximizing Shannon entropy). Purity Tr(ρ2)=2n(1/2n)2=1/2n\mathrm{Tr}(\rho^2) = 2^n\cdot(1/2^n)^2 = 1/2^n is correspondingly minimal, reflecting that this is the 'most mixed' possible state.

Three equivalent constructions.

  1. Classical randomization. Flip nn fair, independent classical coins and prepare the corresponding computational basis string x|x\rangle; averaging the resulting ensemble {px=1/2n,x}\{p_x=1/2^n, |x\rangle\} over all 2n2^n outcomes gives exactly x12nxx=I/2n\sum_x \frac{1}{2^n}|x\rangle\langle x| = I/2^n.
  2. Partial trace of a maximally entangled state. Tracing out either half of any maximally entangled 2n2n-qubit state (e.g. nn Bell pairs) leaves the remaining nn qubits in I/2nI/2^n — this is the cleanest illustration of how entanglement with an inaccessible system manifests locally as maximal mixedness, even though the global state is pure.
  3. Complete depolarization / infinite temperature. I/2nI/2^n is the fixed point of the completely depolarizing channel E(ρ)=I/2n\mathcal{E}(\rho)=I/2^n for all input ρ\rho, and is the β0\beta\to0 (infinite-temperature) limit of the Gibbs state eβH/Ze^{-\beta H}/Z for any Hamiltonian HH — exactly the limit reached by the single-qubit thermal-state purification construction elsewhere in this catalog as θπ/2\theta\to\pi/2.

Role as a baseline. Because it carries zero distinguishing information, I/2nI/2^n is the reference point for every mixedness/entanglement measure used elsewhere in this catalog: it is the p=0p=0 endpoint of the Werner-state family, the maximum-entropy endpoint of any thermal state, and the state a qubit decoheres toward under a fully depolarizing noise channel — the worst-case error model in quantum error correction.

Implementation
Native
maximally_mixed_state.py
import numpy as np
from qiskit import QuantumCircuit
from qiskit.quantum_info import DensityMatrix, Statevector, partial_trace

def maximally_mixed(n: int) -> DensityMatrix:
    return DensityMatrix(np.eye(2 ** n) / 2 ** n)

rho2 = maximally_mixed(2)
print("Trace:", np.trace(rho2.data))                  # 1.0
print("Eigenvalues:", np.linalg.eigvalsh(rho2.data))  # [0.25, 0.25, 0.25, 0.25]

# Construction 2: partial trace of a Bell pair reproduces I/2 for one qubit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
bell = Statevector.from_instruction(qc)
reduced = partial_trace(bell, [1])  # trace out qubit 1
print("Reduced state of one Bell-pair qubit:\n", np.real(reduced.data))  # [[0.5, 0], [0, 0.5]]


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 Computation and Quantum Information: 10th Anniversary Edition2010 · Michael A. Nielsen and Isaac L. Chuang

Standard textbook treatment of the maximally mixed state, its unitary invariance, and its role as the partial trace of a maximally entangled state.

doi.org/10.1017/cbo9780511976667