Aún sin autorAsumirla
Versión 2Actualizado 3 min de lectura
A physics-education paper on arXiv proposes two modules, built on Qiskit and Jupyter notebooks, that fold quantum computing into undergraduate statistical physics through topics students already know: the random walk and the Ising model, each simulated both classically and with quantum circuits. The imported page lists no authors.
Why this way
The paper argues that bringing quantum computing into undergraduate courses, instead of saving it for graduate school, gives students a practical look at quantum mechanics and at technologies built on it. Rather than teaching it in isolation, the modules embed it in familiar physics so students can compare classical and quantum systems. They need only basic quantum mechanics and Python, and can be used in statistical mechanics, modern physics, quantum mechanics or introductory quantum computing courses. The accompanying notebooks are treated as essential, not an appendix.
Module 1: the quantum random walk
A classical random walker moves left or right on each coin flip; after many steps its position follows a bell-shaped Gaussian distribution whose variance grows linearly with the number of steps. Students simulate this and watch the histogram evolve.

A classical random walk in one dimension (figure from the paper, CC BY 4.0).
In the quantum version the coin becomes a qubit. A Hadamard gate turns the state |0⟩ into an equal superposition, the quantum analog of a fair coin toss, and each step depends on that coin. The paper stresses that a spinning coin is only a loose analogy: a qubit really is in a blend of both states until it is measured. Students encode positions in a binary register of qubits (eight sites need at least three), add an ancilla register so conditional shifts keep coherence, and use controlled gates to move the walker. Run on Qiskit's Aer simulator, the histogram looks nothing like the classical one. The paper's comparison table lists a diffusive spread for the classical walk, growing with the square root of the steps, and a ballistic spread for the quantum one, growing in proportion to the steps, with strong interference. Measuring after every step would collapse the state and bring back the classical behavior, which makes the role of coherence plain. An optional exercise has students trace the first steps of the state by hand to practice Dirac notation.

The full quantum walk circuit using 3 qubits, four steps on either side (figure from the paper, CC BY 4.0).
Module 2: the Ising model
The Ising model, spins up or down that interact with neighbors under thermal fluctuations, is a staple of statistical physics and shows magnetization and phase transitions. Students first run the classical Metropolis algorithm in Python: a spin flip that lowers the energy is always accepted, and one that raises it is accepted with probability e to the power of minus ΔE over k_B T. Then they redo the model with quantum circuits, where each spin is a qubit and controlled gates, including Toffoli-type gates chosen for conceptual clarity, evaluate energy. The circuit implements a rule-based flip that lowers energy, like a zero-temperature Metropolis update. The full finite-temperature version, which would need thermal probabilities encoded in the circuit, is not implemented.

The Qiskit circuit for the 1D Ising model with no external field (figure from the paper, CC BY 4.0).
For two dimensions the paper splits the lattice into two chains, one for horizontal and one for vertical interactions, each a separate layer, and suggests an optimization: of the 16 combinations of a spin's four neighbors, only 5 raise the energy when it flips, so the circuit can handle only those. The authors say the value is not beating the classical algorithm but a new way of thinking, and they suggest extensions such as an external field, changed interaction signs, transverse fields for quantum annealing, relating Grover's algorithm to quantum walks, and running circuits on real hardware to see noise.
Sources
- Introducing Quantum Computing into Statistical Physics: Random Walks and the Ising Model with Qiskit, arXiv:2511.03696, licensed CC BY 4.0; the imported page lists no authors. Changed here: summarized and rewritten, with its equations, code references and appendix left out and three of its figures kept; rewritten in hubnx's own words.
Comentarios



