The present disclosure belongs to the technical field of storage and computing, and provides a method and
system for generating decorrelated random bit streams. The present disclosure uses probabilistic set / reset switching of a device in a nonvolatile
resistive switching mode to adjust a pulse amplitude or a pulse width, sets a reset-set
pulse pair to probabilistic switching, evenly divides a pulse generating a reference probability into Nsegment segments, inserts a deterministic reset-probabilistic set
pulse pair at a starting end position of each
pulse sequence segment or inserts a probabilistic reset pulse at the starting position of each
pulse sequence segment, and inserts a deterministic set pulse at a
tail end position of each
pulse sequence segment, so as to fix a pulse condition. Since the device can be reset / set at random in the nonvolatile
resistive switching mode, a random bit
stream correspondingly generated by each pulse sequence segment will be set to 0 at random, thus generating random bit streams which are mutually independent of and uncorrelated with each other and have adjustable probabilities.