1. A compressive sensing electron microscope comprising: a multi-beam generator that emits a sequence of electron patterns over time, wherein each of the electron patterns in the sequence comprises a plurality of electron beams, wherein the plurality of the electron beams in each of the electron patterns is configured to impart a spatially varying electron density on a sample, wherein the spatially varying electron density varies between each of the electron patterns in the sequence, and wherein each of the electron patterns is complementary to a linear basis in which a traditional image of the sample is compressible; a detector that collects signals respectively corresponding to interactions between the sample and each of the electron patterns in the sequence; a collection component that obtains measurement data from the signals respectively corresponding to the interactions between the sample and each of the electron patterns in the sequence; and a reconstruction component that employs a compressive sensing reconstruction algorithm to generate an image based on the measurement data.