Text this: Phase reconstruction via metasurface-integrated quantum analog operation