← Atlas

Operators · Thermal 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.

Exact & formalUpdated

View frozen graph

q[0]q[1]Step 1 of 2 · Uniform mixture over {|00⟩,|01⟩,|10⟩,|11⟩} · on q[0], q[1]Uniform mixture over {|00⟩,|01⟩,|10⟩,|11⟩}Step 2 of 2 · ≡ partial trace of Bell pair · on q[0], q[1]≡ partial trace of Bell pair

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

Expected outcomes

  • Each basis string (n=2)25%
  • Steps2
  • Wires2
  • Qubitsn (n=1,2 shown)
  • PurityTr(ρ²) = 1/2ⁿ
  • EntropyS(ρ) = n bits (maximal)
  • Papers1
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

References

Exact & formal
  • Direct mathematics
  • Verified by construction
  • Textbook / standard citation
Method
ρ = I/2^n was checked to be trace 1, Hermitian, and to have all 2^n eigenvalues equal to 1/2^n by direct inspection; equivalence to (a) a uniform classical mixture of computational-basis states and (b) the reduced state of one half of any maximally entangled pair (obtained by partial trace) was checked by direct matrix computation for n=1.
Result
Pass · I/2^n has trace 1, is positive semidefinite with all eigenvalues 1/2^n, and both the classical-mixture and partial-trace constructions reproduce I/2 exactly for a single qubit.
Quantum Computation and Quantum Information: 10th Anniversary Edition ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
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.