Wheeler's delayed-choice experiment
Wheeler's delayed-choice experiment describes a family of thought experiments in quantum physics proposed by John Archibald Wheeler, with the most prominent among them appearing in 1978 and 1984. These experiments are attempts to decide whether light somehow "senses" the experimental apparatus in the double-slit experiment it travels through, adjusting its behavior to fit by assuming an appropriate determinate state, or whether light remains in an indeterminate state, exhibiting both wave-like and particle-like behavior until measured.
https://en.wikipedia.org/wiki/Wheeler's_delayed-choice_experiment