These are 2 completely different cameras, but as far as image quality probably are equivalent. Il will all be the user that can make a difference. But I would bet that side by side images taken by the same photographer would produce the exact same results.
The newer lenses with the larger mount could be a bit better on the Z50.