What is the scale used by the United States Geological Survey to measure the size of earthquakes in terms of the energy released?

Science Trivia: What is the scale used by the United States Geological Survey to measure the size of earthquakes in terms of the energy released?