BPS Microstates and the Open Topological String Wave Function
  It has recently been conjectured that the closed topological string wave function computes a grand canonical partition function of BPS black hole states in 4 dimensions: Z_BH=|psi_top|^2. We conjecture that the open topological string wave function also computes a grand canonical partition function, which sums over black holes bound to BPS excitations on D-branes wrapping cycles of the internal Calabi-Yau: Z^open_BPS=|psi^open_top|^2. This conjecture is verified in the case of Type IIA on a local Calabi-Yau threefold involving a Riemann surface, where the degeneracies of BPS states can be computed in q-deformed 2-dimensional Yang-Mills theory. 
Mina Aganagic, Andrew Neitzke, Cumrun Vafa