Fig. 1: Conceptual scheme of a Bernoulli factory. | Nature Photonics