We consider distributed sensing of non-local quantities. We introduce quantum enhanced protocols to directly measure any (scalar) field with a specific spatial dependence by placing sensors at appropriate positions and preparing a spatially distributed entangled quantum state. Our scheme has optimal Heisenberg scaling and is completely unaffected by noise on other processes with different spatial dependence than the signal. We consider both Fisher and Bayesian scenarios, and design states and settings to achieve optimal scaling. We explicitly demonstrate how to measure coefficients of spatial Taylor and Fourier series, and show that our approach can offer an exponential advantage as compared to strategies that do not make use of entanglement between different sites.Introduction.-High precision measurements of physical quantities are of fundamental importance in all branches of physics and beyond. Quantum metrology offers a quadratic scaling advantage over a classical approach, and has hence received tremendous attention in recent years. Most of the effort has concentrated on local estimation problems, where an unknown quantity such as field strength or frequency should be measured. Optimal schemes have been designed for different kinds of estimation problems, and demonstrated experimentally [1][2][3].In many physical problems, the quantity of interest is however not a local property, but has a characteristic spatial dependence such as e.g. the gradient (or higher moment) of a field, or a (spatial) Fourier coefficient. In this case, multiple measurements performed at different positions are required, i.e. one uses distributed sensors or sensor networks. Such distributed sensors also allow one to increase resolution e.g. in classical imaging, where baseline telescopes are used. Recently quantum sensor networks have been introduced, and shown to offer an advantage in several problems: to measure field gradients [4][5][6], to increase the accuracy of atomic clocks [7,8], or of interferometers and telescope networks [9-12] using entangled quantum states (see also [13][14][15][16][17][18][19][20][21][22][23]). Current experimental capabilities (e.g. [24][25][26]) already allow the implementation of quantum sensor networks on the scale of a lab, and with the emergence of quantum networks [27,28] large scale sensor networks shall become a promising application and a real possibility in the near future. General quantum sensor networks are based on distributed multipartite entangled quantum states, and in addition to optimizing states, measurements and strategies also the positioning of sensors can be varied and optimized. Surprisingly, distributed entanglement between remote sensors does not necessarily help in the absence of noise and many repetitions (i.e. Fisher regime) when multiple quantities should be determined simultaneously [13,[29][30][31]. However, the practical applicability, in particular in the presence of noise and imperfections, is largely unexplored.Here we introduce quantum enhanced protocols to directly...