Nanoporous materials (e.g., activated carbon, zeolite and metal-organic framework) have attracted great interest in recent years because of their excellent structural and chemical properties including large specific surface area, good mechanic strength and tailorable pore size and local chemical environment. Such materials are promising to serve as better alternatives to conventional materials such as porous electrodes in energy storage or adsorbents and membranes in separating molecules with similar properties. Because of the almost infinite design space, not only is the identification of best nanoporous materials with target performance practically infeasible with traditional experimental trail-and-error methods, but also it imposes theor...