quantum mechanics definition