Shift-refresh chain on a hypercube (source code)

= Shift-refresh chain on a hypercube

A shift-refresh chain cyclically moves a pointer through the coordinates of a bit vector and replaces the visited bit by an independent fair bit. Once the pointer walk has visited every residue, all coordinates have been refreshed, giving a <strong stationary time>.