I don't think smoking weed makes you any smarter. It does seem to help me make intuitive leaps and that often helps me solve a problem that seemed more complicated than it was. If you are learning new material, however, the side effect of the loss of short term memory can cause you to forget much of it.