Gate-based quantum programming languages are ubiquitous but measurement-based languages currently exist only on paper. This work introduces MCBeth, a quantum programming language which allows programmers to directly represent, program, and simulate measurement-based and cluster state computation by building upon the measurement calculus. While MCBeth programs are meant to be executed directly on hardware, to take advantage of current machines we also provide a compiler to gate-based instructions. We argue that there are clear advantages to measurement-based quantum computation compared to gate-based when it comes to implementing common quantum algorithms and distributed quantum computation.
翻译:基于门的量子编程语言无处不在,但目前只有纸面上存在基于测量的语言。 这项工作引入了MCBeth,这是一种量子编程语言,使程序员能够直接代表、编程和模拟基于测量和集束状态的计算,借助测量微积分。 MCBeth 程序本打算直接在硬件上实施,但利用当前的机器,我们也为基于门的指示提供编译器。我们认为,与基于门的量子计算相比,在实施通用量子算法和分布量子计算方面,基于测量的量子计算显然具有优势。