J4 ›› 2014, Vol. 31 ›› Issue (5): 583-590.

• 量子光学 • 上一篇    下一篇

一种通用的可逆比较器级联方法

徐明强 管致锦 程学云   

  1. 1 南通纺织职业技术学院 素质部 江苏 南通 226007; 2 南通大学计算机科学与技术学院 江苏 南通 226019
  • 收稿日期:2013-12-25 修回日期:2014-03-17 出版日期:2014-09-28 发布日期:2014-09-17

A Universal Cascaded Method for Reversible Comparator

XU Ming-qiang, GUAN Zhi-jin, CHENG Xue-yun   

  1. 1 Basic Department, College of Nantong Textile Vocational Technology, Nantong Jiangsu 226007, China; 2 College of Computer Science and Technology, Nantong University, Nantong Jiangsu 226019, China
  • Received:2013-12-25 Revised:2014-03-17 Published:2014-09-28 Online:2014-09-17

摘要: 可逆数值比较器是可逆计算机中诸多运算器中的重要组成部分。为了提升可逆比较器的通用性,进一步优化可逆比较器电路。分析了比较器的输入与输出的逻辑关系,提出并设计了一位可逆比较器(OBC)和一位可逆完全比较器(OBCC)。在此基础上将这两种器件进行级联,可以快速生成通用可逆比较器的级联电路.与相关文献对比,该级联方法有效的减少了常量输入和垃圾输出的同时,具有较低的量子代价,易于完成多位二进制数值在可逆电路中的比较。

关键词: 量子信息;可逆逻辑 ;可逆比较器 ;可逆级联电路;量子代价

Abstract: Reversible Numerical Comparator is the most important part of numerous arithmetic devices in reversible computer. The reversible comparator circuit was optimized further in order to improve the universality of reversible comparator .The logical relationship of input and output in comparator was analyzed. A one-bit reversible comparator (OBC) and a one-bit reversible complete comparator (OBCC) were presented and designed. And on the basis of that, using these two devices, it could be cascaded and rapidly generated into a reversible circuit of universal reversible comparator. Compared with the related literatures, the cascaded method efficiently decreases the quantity of constant inputs and garbage outputs, meanwhile it has the lower quantum cost, which is prone to the comparison with two multi-bit numerical values in reversible circuit.

Key words: quantum information; reversible logic; reversible comparator; reversible cascaded circuit; quantum cost

中图分类号: