Governments and technology companies are fueling an urgent, high-stakes race to develop quantum power, which promises to revolutionize— and potentially compromise — global security.