I see a lot of doubt that the switch 2 will be able to play PS5 games, but if we look a the original switch vs the PS4, things look a lot better comparably.
The switch had 236 gigaflops in portable mode and 393 gigaflops in docked mode, against 1.8 terflops for the PS4 (4,5x the power if we look at docked performance)
It had 4gb of ram at 25,6gb/s vs PS4's 8gb at 176gb/s (twice the ram capacity and 7 times the bandwidth)
Low amounts of storage.
If we look at switch 2 estimates, things look a lot better.
Let's estimate 2 terflops in docked mode, that's 5 times less than the PS5, but with the DLSS advantage and better ray tracing hardware.
Then we have the ram, and switch 2 has 12gb, just 4gb less than the PS5. It also has around 120gb/s of memory bandwidth, less than 4 times than the PS5.
And then the storage, 256gb on board, enough for most AAA games.
When we get the device on our hands and 99% of the third parties announce support, I am not going to be surprised.