Complexity and multi-functional variants of the Quantum-to-Quantum Bernoulli Factories
Francesco Hoch, Taira Giordani, Gonzalo Carvacho, Nicolò Spagnolo, Fabio Sciarrino
TL;DR
This work provides a complete characterization of the quantum-to-quantum Bernoulli factory (QQBF) by proving that the set of simulable functions is exactly the complex rational functions Rat$(z)$ and that the minimum number of input qubits satisfies $n \ge \deg(f)$. It delivers a constructive circuit framework that saturates these bounds and shows no ancilla is required except in the deg$(f)=1$ case, enabling explicit circuit design for any QQBF. The authors extend the model to multivariate inputs (multivariate QQBF) and to multifunctional QQBF, where multiple functions are implemented within a single protocol, including compatibility conditions between functions. They illustrate the theory with applications to sum and product operations, analyzing resource requirements and heralded outputs, thereby positioning QQBF as a versatile subroutine for quantum algorithms and randomness manipulation in quantum information processing.
Abstract
A Bernoulli factory is a model for randomness manipulation that transforms an initial Bernoulli random variable into another Bernoulli variable by applying a predetermined function relating the output bias to the input one. In literature, quantum-to-quantum Bernoulli factory schemes have been proposed, which encode both the input and output variables using qubit amplitudes. This fundamental concept can serve as a subroutine for quantum algorithms that involve Bayesian inference and Monte Carlo methods, or that require data encryption, like in blind quantum computation. In this work, we present a characterisation of the complexity of the quantum-to-quantum Bernoulli factory by providing a lower bound on the required number of qubits needed to implement the protocol, an upper bound on the success probability and the quantum circuit that saturates the bounds. We also formalise and analyse two different variants of the original problem that address the possibility of increasing the number of input biases or the number of functions implemented by the quantum-to-quantum Bernoulli factory. The obtained results can be used as a framework for randomness manipulation via such an approach.
