New classical algorithm enhances understanding of quantum computing’s future