Metasurfaces offer a unique platform to precisely control optical wavefronts and enable the realization of flat lenses, or metalenses, which have the potential to substantially reduce the size and complexity of imaging systems and to realize new imaging modalities. However, it is a major challenge t...