Duality as a “Collapse of the Wave Function”