Photons pass through a double slit and land on a detector screen. With no which-path information, interference fringes appear. Toggle the which-path detector to collapse the wavefunction and destroy interference — then erase the information to restore it.