A unique library of computer code, built on equations derived for quantum mechanics, could be used to model problems as diverse as the flow of electrons through a nanoscale device or the price of copper in a commodities market.