A 7.1-magnitude earthquake hit northwest China's Qinghai Province early on Wednesday, the China Earthquake Networks Center said.