The conventional Hamiltonian H= p^2+ V_N(x), where the potential V_N(x) is a polynomial of degree N, has been studied intensively since the birth of Quantum Mechanics. In some cases, its spectrum can be determined by combining the WKB method with resummation techniques. In this paper we point out that the deformed Hamiltonian H=2 \cosh(p)+ V_N(x) is exactly solvable for any potential: an exact quantization condition, involving well-defined functions, can be written down in closed form, and determines the spectrum of bound states and resonances. In particular, no resummation techniques are needed. This Hamiltonian is obtained by quantizing the Seiberg-Witten curve of N=2 Yang-Mills theory, and the exact quantization condition follows from the correspondence between spectral theory and topological strings, after taking a suitable four-dimensional limit. In this formulation, conventional Quantum Mechanics emerges in a scaling limit near the Argyres-Douglas superconformal point in moduli space. Although our deformed version of Quantum Mechanics is in many respects similar to the conventional version, it also displays new phenomena, like spontaneous parity symmetry breaking.