SAN FRANCISCO, July 23 — Pacific Gas & Electric, Northern California’s major utility, is announcing a commitment on Wednesday to purchase 550 megawatts of solar power to be generated by troughlike arrays of mirrors spread over nine square miles in the Mojave Desert.