Autoencoders are impressive machine learning tools for learning how to very efficiently encode and decode complex data distributions such as pictures, handwritten digits, and so on. In this paper, we build a quantum analog to autoencoders that allows the encoding and decoding of quantum information (which is notoriously difficult to do without prior knowledge of the data) and show in a toy example that it can learn to encode ground state of hydrogen without significant decoherence.