Many quantum programs require circuits for addition, subtraction and logical operations. These circuits may be packaged within routines known as oracles. However, oracles can be tedious to code with current frameworks. To solve this problem the author developed Higher-Level Oracle Description Language (HODL) -- a C-style programming language for use on quantum computers -- to ease the creation of such circuits. The compiler translates high-level code written in HODL and converts it into OpenQASM, a gate-based quantum assembly language that runs on IBM Quantum Systems and compatible simulators.
翻译:许多量子程序需要增加、减法和逻辑操作的电路。 这些电路可以包装在被称为“ 孔器” 的常规中。 但是, 孔器可能会对与当前框架的编码产生厌烦。 为了解决这个问题, 作者开发了高层次的甲骨文描述语言( HODL) -- -- 一种用于量子计算机的C型编程语言 -- -- 以方便创建这种电路。 编译者翻译了以 HODL 书写的高级代码, 并将其转换成 OpenQASM, 一种基于门的量子组装语言, 一种在 IBM 量子系统上运行的基于门的量子组语言, 以及兼容的模拟器。