可逆逻辑中的随机p比特
Stochastic p-bits for Invertible Logic
摘要:
传统的逻辑和存储器设备是由确定性单元构建的,例如晶体管或具有超过40-60 kT的能量屏障的磁体。我们表明,随机单位,p位,可以相互连接,以创建强大的相关性,实现布尔函数令人印象深刻的准确性,相当于标准电路。而且它们是可逆的,这是数字电路中不存在的独特性质。在直接模式下工作时,输入被箝位,网络提供正确的输出。在反相模式下,输出被箝位,网络在与该输出一致的可能输入之间波动。我们提出了一个可逆门的实现,以发挥三端构建块的关键作用,从而能够构建相关的p位网络。这种实现的结果与通用模型的结果吻合得很好,表明p位不需要基于磁体:任何三端可调随机位发生器都应该是合适的。我们提出了一个算法,设计一个玻尔兹曼机(BM)的对称连接,实现了一个给定的真值表。然后,我们将展示BM全加器如何以部分定向的方式互连,以实现32位加法等大型操作。数百个p比特被精确地相关,使得可以通过查看多个时间样本的模式来从2^33种可能性中提取正确答案。对于完美的方向性,少量的样本就足够了,而对于较少的定向连接,需要更多的样本,但即使在前一种情况下,可逆性也在很大程度上得到了保留。这种准确性和可逆性的组合是通过混合设计实现的,该混合设计使用双向单元来构造具有部分定向连接的电路。我们建立这个结果的例子,包括一个4位乘法器,在反相模式下作为一个因式分解器的功能。
英文摘要:
Conventional logic and memory devices are built out of deterministic units such as transistors, or magnets with energy barriers in excess of 40-60 kT. We show that stochastic units, p-bits, can be interconnected to create robust correlations that implement Boolean functions with impressive accuracy, comparable to standard circuits. Also they are invertible, a unique property that is absent in digital circuits. When operated in the direct mode, the input is clamped, and the network provides the correct output. In the inverted mode, the output is clamped, and the network fluctuates among possible inputs consistent with that output. We present an implementation of an invertible gate to bring out the key role of a three-terminal building block to enable the construction of correlated p-bit networks. The results for this implementation agree well with those from a universal model, showing that p-bits need not be magnet-based: any three-terminal tunable random bit generator should be suitable. We present an algorithm for designing a Boltzmann machine (BM) with symmetric connections that implements a given truth table. We then show how BM Full Adders can be interconnected in a partially directed manner to implement large operations such as 32-bit addition. Hundreds of p-bits get precisely correlated such that the correct answer out of 2^33 possibilities can be extracted by looking at the mode of a number of time samples. With perfect directivity a small number of samples is enough, while for less directed connections more samples are needed, but even in the former case invertibility is largely preserved. This combination of accuracy and invertibility is enabled by the hybrid design that uses bidirectional units to construct circuits with partially directed connections. We establish this result with examples including a 4-bit multiplier which in inverted mode functions as a factorizer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。