 This study will investigate AQW051 in patients with either mild Alzheimers disease or amnestic mild cognitive impairment. The effect on cognitive impairment will be measure using validated computerized tests which measure cognitive function. This study will also explore the safety and tolerability of AQW051 in these patients. 