Having been on Adderall I agree with most here that it increases my executive function but doesn’t really make me smarter.
I have a long history of experimenting with both legal and illicit drugs and the only one I found to actually significantly increase my cognitive ability to solve complex problems is low dose Ketamine. Low dose lsd/shrooms as well but to a much lesser degree.