Thought experiments in quantum mechanics