A simple relationship of the form Z_BH = |Z_top|^2 is conjectured, where Z_BH is a supersymmetric partition function for a four-dimensional BPS black hole in a Calabi-Yau compactification of Type II superstring theory and Z_top is a second-quantized topological string partition function evaluated at the attractor point in moduli space associated to the black hole charges. Evidence for the conjecture in a perturbation expansion about large graviphoton charge is given. The microcanonical ensemble of BPS black holes can be viewed as the Wigner function associated to the wavefunction defined by the topological string partition function.