• Open Access

Stochastic p-Bits for Invertible Logic

Kerem Yunus Camsari, Rafatul Faria, Brian M. Sutton, and Supriyo Datta
Phys. Rev. X 7, 031014 – Published 20 July 2017

Abstract

Conventional semiconductor-based logic and nanomagnet-based memory devices are built out of stable, deterministic units such as standard metal-oxide semiconductor transistors, or nanomagnets with energy barriers in excess of 4060kT. In this paper, we show that unstable, stochastic units, which we call “p-bits,” can be interconnected to create robust correlations that implement precise Boolean functions with impressive accuracy, comparable to standard digital circuits. At the same time, they are invertible, a unique property that is absent in standard 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 all possible inputs that are consistent with that output. First, we present a detailed implementation of an invertible gate to bring out the key role of a single three-terminal transistorlike building block to enable the construction of correlated p-bit networks. The results for this specific, CMOS-assisted nanomagnet-based hardware implementation agree well with those from a universal model for p-bits, showing that p-bits need not be magnet based: any three-terminal tunable random bit generator should be suitable. We present a general algorithm for designing a Boltzmann machine (BM) with a symmetric connection matrix [J] (Jij=Jji) that implements a given truth table with p-bits. The [J] matrices are relatively sparse with a few unique weights for convenient hardware implementation. We then show how BM full adders can be interconnected in a partially directed manner (JijJji) to implement large logic operations such as 32-bit binary addition. Hundreds of stochastic p-bits get precisely correlated such that the correct answer out of 233 (8×109) possibilities can be extracted by looking at the statistical mode or majority vote of a number of time samples. With perfect directivity (Jji=0) a small number of samples is enough, while for less directed connections more samples are needed, but even in the former case logical invertibility is largely preserved. This combination of digital accuracy and logical invertibility is enabled by the hybrid design that uses bidirectional BM units to construct circuits with partially directed interunit connections. We establish this key result with extensive examples including a 4-bit multiplier which in inverted mode functions as a factorizer.

  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
9 More
  • Received 16 November 2016

DOI:https://doi.org/10.1103/PhysRevX.7.031014

Published by the American Physical Society under the terms of the Creative Commons Attribution 4.0 International license. Further distribution of this work must maintain attribution to the author(s) and the published article’s title, journal citation, and DOI.

Published by the American Physical Society

Physics Subject Headings (PhySH)

  1. Research Areas
  1. Physical Systems
Condensed Matter, Materials & Applied Physics

Authors & Affiliations

Kerem Yunus Camsari*, Rafatul Faria, Brian M. Sutton, and Supriyo Datta

  • School of Electrical and Computer Engineering, Purdue University, West Lafayette, Indiana 47907, USA

  • *kcamsari@purdue.edu
  • datta@purdue.edu

Popular Summary

There is increasing interest in probabilistic brainlike logic, which can be far more energy efficient than standard deterministic logic. However, probabilistic logic is generally considered suitable only for operations such as search and optimization rather than precise computation, which seems better suited for deterministic logic. Here, we show that unstable, stochastic units, which we call “p-bits,” can be interconnected into “p-circuits” to create robust correlations that implement precise Boolean functions with impressive accuracy, comparable to that of deterministic digital circuits.

We show that these p-circuits are “invertible,” a unique property that is absent in standard 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 all possible inputs that are consistent with that output. Even large circuits composed of hundreds of p-bits can be designed to exhibit this property of invertibility while preserving a striking degree of digital accuracy. A 32-bit adder, for example, rapidly converges to the single correct state out of 233 (roughly 8×109) possible states with an accuracy similar to digital circuits. However, unlike digital circuits, these circuits can also be operated in the inverse mode to perform subtraction. We also show that spin-current-driven nanomagnets can represent p-bits, but the situation is by no means limited: Any three-terminal tunable random bit generator should be suitable.

We expect that our theoretical findings will inspire searches for physical realizations of p-bits.

Key Image

Article Text

Click to Expand

References

Click to Expand
Issue

Vol. 7, Iss. 3 — July - September 2017

Subject Areas
Reuse & Permissions
Author publication services for translation and copyediting assistance advertisement

Authorization Required


×
×

Images

×

Sign up to receive regular email alerts from Physical Review X

Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

×

Log In

Cancel
×

Search


Article Lookup

Paste a citation or DOI

Enter a citation
×