Yes, St. Pete and St. Petersburg refer to the same city. The city is often referred to as St. Pete for short, while its full name is St. Petersburg.