In this paper, we introduce dynamic lifting to a quantum circuit-description language, following the Proto-Quipper language approach. Dynamic lifting allows programs to transfer the result of measuring quantum data -- qubits -- into classical data -- booleans -- . We propose a type system and an operational semantics for the language and we state safety properties. Next, we introduce a concrete categorical semantics for the proposed language, basing our approach on a recent model from Rios\&Selinger for Proto-Quipper-M. Our approach is to construct on top of a concrete category of circuits with measurements a Kleisli category, capturing as a side effect the action of retrieving classical content out of a quantum memory. We then show a soundness result for this semantics.
翻译:在本文中,我们按照Proto-Quipper语言方法,将动态提升到量子电路描述语言。动态提升使程序能够将量子数据测量结果转换成古典数据 -- -- 布林恩人。我们为语言建议了一种类型系统和一种实用的语义,并提出了安全特性。接下来,我们为拟议语言引入了一种具体的绝对语义,我们的方法以最近从Rios ⁇ Selinger到Proto-Quipper-M的模型为基础。我们的方法是在测量Kleisli类别的具体电路类别之上建构,作为副作用,从量子内存中提取古典内容的动作。然后我们展示出这种语义的正确性结果。