Complex integration ab initio method