While recent progress in quantum hardware open the door for significant speedup in certain key areas (cryptography, biology, chemistry, optimization, machine learning, etc), quantum algorithms are still hard to implement right, and the validation of such quantum programs is achallenge. Moreover, importing the testing and debugging practices at use in classical programming is extremely difficult in the quantum case, due to the destructive aspect of quantum measurement. As an alternative strategy, formal methods are prone to play a decisive role in the emerging field of quantum software. Recent works initiate solutions for problems occurring at every stage of the development process: high-level program design, implementation, compilation, etc. We review the induced challenges for an efficient use of formal methods in quantum computing and the current most promising research directions.
翻译:虽然量子硬件最近的进展在某些关键领域(加密、生物学、化学、优化、机器学习等)为大幅度加速打开了大门,但量子算法仍然难以正确执行,而这种量子方案的验证则是挑战。 此外,由于量子测量具有破坏性,在量子测量中输入用于古典编程的测试和调试做法极为困难。作为一种替代战略,正式方法在量子软件的新兴领域很容易发挥决定性作用。最近的工作为发展进程各个阶段出现的问题提出了解决办法:高级程序设计、实施、汇编等。我们审查了在量子计算中有效使用正规方法以及目前最有希望的研究方向方面引起的挑战。