First take a look at Theano Tutorials on Contractive Autoencoders, Denoising Autoencoders and Caglar Gulcehre's Repository. This repository is composition of those resources. It supports any combination of Contractive, Sparse and Denoising Autoencoders.
One can choose different cost types, different activation functions as well. Just type following command and try:
python ae.py --help