A 6.0 magnitude earthquake has struck northwest of Anchorage, Alaska, according to the U.S. Geological Survey.