Quantum computing could trigger either a technological revolution or a nightmare. But scientists aren’t sure which.