Is hyperglycemia the same as diabetes?

Basically yes. Yes. But there can be elevated blood sugars from other causes without true diabetes.
No. Hypergycemia is high blood sugar concentration in the blood. It can occur in diabetics but also in people with pre-diabetes so hyperglycemia alone does not give you the diagnosis of diabetes.