Measurements in quantum mechanics are rather different from measurements in classical mechanics. A quantum particle which is not measured has a wave function which depends on all its possible states.