Consider a family of local Hamiltonians on systems of linear size whose ground space encodes qubits, coupled weakly to a thermal bath at inverse temperature and described by a Markovian (Davies) master equation. Information is written into the ground space, the system evolves under the thermal dynamics for time , and a decoder is then applied. The memory time is the largest for which the decoded state retains fidelity above a fixed constant. The family is a self-correcting quantum memory if there is a such that for all , as (the strongest form asks for growth exponential in ).
The energy barrier of the code is the minimum, over all sequences of local errors that take one ground state to an orthogonal one, of the maximum energy above the ground state encountered along the way. A barrier that grows with is a heuristic requirement for self-correction: thermally activated processes that cross a barrier are expected at a rate of order .
The two-dimensional Ising ferromagnet is the classical example of a self-correcting memory; the four-dimensional toric code was proposed as a quantum one by Dennis, Kitaev, Landahl and Preskill. The review of Brown et al. surveys the subject; the energy-barrier definition in this form follows Bravyi and Terhal.