Simulation of quantum delayed-choice experiment through a single shot.