Classical Topology and Quantum States