  Under ray-optical light transport, the classical ray serves as a linear and
local "point query" of light's behaviour. Linearity and locality are crucial to
the formulation of sophisticated path tracing and sampling techniques, that
enable efficient solutions to light transport problems in complex, real-world
settings and environments. However, such formulations are firmly confined to
the realm of ray optics, while many applications of interest -- in computer
graphics and computational optics -- demand a more precise understanding of
light: as waves. We rigorously formulate the generalized ray, which enables
linear and weakly-local queries of arbitrary wave-optical distributions of
light. Generalized rays arise from photodetection states, and therefore allow
performing backward (sensor-to-source) wave-optical light transport. Our
formulations are accurate and highly general: they facilitate the application
of modern path tracing techniques for wave-optical rendering, with light of any
state of coherence and any spectral properties. We improve upon the
state-of-the-art in terms of the generality and accuracy of the formalism, ease
of application, as well as performance. As a consequence, we are able to render
large, complex scenes, as in Fig. 1, and even do interactive wave-optical light
transport, none of which is possible with any existing method. We numerically
validate our formalism, and make connection to partially-coherent light
transport.
