In the case of the Internet Bubble stocks were down 78%, but it was not hard to do well in the end given diversification and a long enough horizon.
In the case of the Dutch Tulip bubble there was no good ending for anyone except those who got out early.
Some bubbles like NFTs generate strong opinions but have yet to have final judgment from history.
I think the quantum computing bubble is different than all three, but closer to the Internet than to Tulips. In which case the conventional strategy would be to diversify and expect a long time horizon.