Which bit is retained in the Von Neumann debiasing algorithm? 00 and 11 are discarded and 10, 01 are retained but is the first or the second bit retained or does it matter?

In other words:

first: 10 -> 1 , 01 -> 0

second: 10 -> 0 , 01 -> 1

Original Paper (appears to be first but could be interpreted either way):


Examples (first digit accept):





Examples (second digit accept):



Examples of the second are present in papers regarding an Iterated Von Neumann algorithm.

  • 2
    $\begingroup$ Does it matter? Hint: Write down the assumptions, and compute from the assumptions the probability distributions of the outcomes of both alternatives. $\endgroup$ – Squeamish Ossifrage Apr 25 at 23:22
  • $\begingroup$ Why pick one when you can alternate? $\endgroup$ – Nat Apr 26 at 1:50

It doesn't matter at all, since both $01$ and $10$ have the same probability $p(1-p).$

  • 1
    $\begingroup$ Furthermore, using the second bit instead of the first (or vice versa) just has the effect of inverting the output. And a uniformly random bitstream is still uniform even if inverted. $\endgroup$ – Ilmari Karonen Apr 25 at 23:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.