They are different ballasts with different specs. There is such thing as a 430W HPS ballast that basically matches the specs for a 400W HQI ballast, but otherwise the numbers won't line up. Also the HPS ballasts have ignitors so in that respect they are more similar to HQI or pulse start MH ballasts than standard MH - but I wouldn't take that to mean that they are compatible.
I wouldn't be surprised if a HPS ballast would fire a MH bulb, but I don't think it would be a good idea at all. At the very least the bulb would be running at specs that it's not designed for leading to decreased bulb life and or a different spectrum than intended. At the worst potential fire?
You could look up the numbers on the ballast and cross reference, but I'm betting it would be a waste of time. There's a link for DIY lighting on sanjay's page that lists the part numbers on various MH ballasts if you want to try to find a match, but again, probably a waste of time.
"Oh, by the way, If they can be re-wired for MH don't forget who suggested it"
I guess you could remove the ignitor, but otherwise there's nothing you can rewire. The mogul base is the same for either kind of lamp, but the ballast assembly is 3 sealed components so there's nothing to rewire.