Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Cambridge University Press eBooks

Randomized Computation

Thomas Watson

Published Oct 9, 2026• 0 citations
Publisher

Abstract

This chapter discusses randomized algorithms, which produce correct output with high probability. The chapter covers some classic randomized algorithms, complexity classes, and useful tools from probability theory. It also introduces the topic of efficient derandomization (turning randomized algorithms into non-randomized ones) in the time- and space-bounded settings.

DOI
10.1017/9781009752329.010

Related papers

Constructive derandomization of query algorithms

Guy Blanc, Jane Lange, Li-Yang Tan

We give efficient deterministic algorithms for converting randomized query algorithms into deterministic ones. We first give an algorithm that takes as input a randomized $q$-query algorithm $R$ with description length $N$ and a parameter $\varepsilon$, runs in time $\mathrm{poly}(N) \cdot 2^{O(q/\varepsilon)}$, and returns a deterministic $O(q/\varepsilon)$-query algorithm $D$ that $\varepsilon$-approximates the acceptance probabilities of $R$. These parameters are near-optimal: runtime $N + 2^{Ω(q/\varepsilon)}$ and query complexity $Ω(q/\varepsilon)$ are necessary. Next, we give algorithms for instance-optimal and online versions of the problem: $\circ$ Instance optimal: Construct a deterministic $q^\star_R$-query algorithm $D$, where $q^\star_R$ is minimum query complexity of any deterministic algorithm that $\varepsilon$-approximates $R$. $\circ$ Online: Deterministically approximate the acceptance probability of $R$ for a specific input $\underline{x}$ in time $\mathrm{poly}(N,q,1/\varepsilon)$, without constructing $D$ in its entirety. Applying the techniques we develop for these extensions, we constructivize classic results that relate the deterministic, randomized, and quantum query complexities of boolean functions (Nisan, STOC 1989; Beals et al., FOCS 1998). This has direct implications for the Turing machine model of computation: sublinear-time algorithms for total decision problems can be efficiently derandomized and dequantized with a subexponential-time preprocessing step.

arXiv:1912.03042•Dec 6, 2019•0 citations

Quantum Probability and Randomness

Andrei Yu. Khrennikov, Karl Svozil

The last few years have been characterized by a tremendous development of quantum information and probability and their applications, including quantum computing, quantum cryptography, and quantum random generators. In spite of the successful development of quantum technology, its foundational basis is still not concrete and contains a few sandy and shaky slices. Quantum random generators are one of the most promising outputs of the recent quantum information revolution. Therefore, it is very important to reconsider the foundational basis of this project, starting with the notion of irreducible quantum randomness. Quantum probabilities present a powerful tool to model uncertainty. Interpretations of quantum probability and foundational meaning of its basic tools, starting with the Born rule, are among the topics which will be covered by this issue. Recently, quantum probability has started to play an important role in a few areas of research outside quantum physics—in particular, quantum probabilistic treatment of problems of theory of decision making under uncertainty. Such studies are also among the topics of this issue.

MDPI eBooks•Apr 18, 2019•1 citation

LEARNING ABOUT QUANTUM STATES AND PROCESSES: A MODERN APPROACH

Jonathan Kunjummen

This thesis presents developments in the theory and application of quantum learning.The first two chapters fall under the head of classical shadow tomography, a randomized measurement technique which estimates a large number of expectation values effectively in parallel. In the first chapter on this topic, we extend classical shadow state tomography to the characterization of quantum channels. We prove that with a simple protocol involving randomized measurement of randomly generated input states evolved through channel, one can estimate many channel properties in parallel, with rigorous guarantees on the sample complexity required. In the next chapter, we bring together finite-depth classical shadows, derandomization, and tensor network simulation to present an algorithm for tailoring a sequence of measurements to a set of observables of interest, demonstrating the effectiveness of our technique for a number of tasks in quantum chemistry and simulation. The second part of this thesis presents a step toward applying ideas from quantum learning to quantum error correction. We investigate the use of prior information on qubit error rates in the decoding task, showing that prior information can significantly change decoder performance when a small number of qubits have high error rates. We present a protocol to learn the location of error-prone sites from decoding data in real time, and then apply this in turn to develop in situ protocol for calibration of gates while processing logical information.

•Jan 1, 2025•0 citations

Randomness

Scott Aaronson

In the last two chapters, we talked about computational complexity up till the early 1970s. Here, we'll add a new ingredient to our already simmering stew – something that was thrown in around the mid-1970s, and that now pervades complexity to such an extent that it's hard to imagine doing anything without it. This new ingredient is randomness . Certainly, if you want to study quantum computing, then you first have to understand randomized computing. I mean, quantum amplitudes only become interesting when they exhibit some behavior that classical probabilities don't : contextuality, interference, entanglement (as opposed to correlation), etc. So we can't even begin to discuss quantum mechanics without first knowing what it is that we're comparing against. Alright, so what is randomness? Well, that’s a profound philosophical question, but I’m a simpleminded person. So, you’ve got some probability p , which is a real number in the unit interval [0, 1]. That’s randomness. But wasn’t it a big achievement when Kolmogorov put probability on an axiomatic basis in the 1930s? Yes, it was! But in this chapter, we’ll only care about probability distributions over finitely many events, so all the subtle questions of integrability, measurability, and so on won’t arise. In my view, probability theory is yet another example where mathematicians immediately go to infinite-dimensional spaces, in order to solve the problem of having a nontrivial problem to solve! And that’s fine – whatever floats your boat. I’m not criticizing that. But in theoretical computer science, we’ve already got our hands full with 2n choices. We need 2ℵ0 choices like we need a hole in the head.

Cambridge University Press eBooks•Mar 14, 2013•0 citations

Generalizing and derandomizing Gurvits's approximation algorithm for the permanent

Scott Aaronson, Travis Hance

Around 2002, Leonid Gurvits gave a striking randomized algorithm to approximate the permanent of an $n\times n$ matrix A. The algorithm runs in $O( n^{2}/\varepsilon^{2})$ time, and approximates $\operatorname*{Per}( A)$ to within $\pm\varepsilon\left\Vert A\right\Vert ^{n}$ additive error. A major advantage of Gurvits's algorithm is that it works for arbitrary matrices, not just for nonnegative matrices. \ This makes it highly relevant to quantum optics, where the permanents of bounded-norm complex matrices play a central role. (In particular, $n\times n$ permanents arise as the transition amplitudes for $n$ identical photons.) Indeed, the existence of Gurvits's algorithm is why, in their recent work on the \textit{hardness} of quantum optics, Aaronson and Arkhipov (AA) had to talk about sampling problems rather than ordinary decision problems. In this paper, we improve Gurvits's algorithm in two ways. First, using an idea from quantum optics, we generalize the algorithm so that it yields a better approximation when the matrix A has either repeated rows or repeated columns. Translating back to quantum optics, this lets us classically estimate the probability of any outcome of an AA-type experiment -- even an outcome involving multiple photons "bunched" in the same mode -- at least as well as that probability can be estimated by the experiment itself. It also yields a general upper bound on the probabilities of "bunched" outcomes, which resolves a conjecture of Gurvits and might be of independent physical interest. Second, we use $\varepsilon$-biased sets to derandomize Gurvits's algorithm, in the special case where the matrix A is nonnegative. More interestingly, we generalize the notion of $\varepsilon$-biased sets to the complex numbers, construct "complex $\varepsilon$-biased sets", then use those sets to derandomize even our generalization of Gurvits's algorithm to the case (again for nonnegative A) where some rows or columns are identical. Whether Gurvits's algorithm can be derandomized for general A remains an outstanding problem.

Quantum Information and Computation•May 1, 2014•20 citations

Randomization Techniques for Secure Computation

Yuval Ishai

To what extent can a computation be made “simpler” by settling for computing a randomized encoding of the output? Originating from Yao's seminal idea of garbled circuits, answers to this question have found applications in cryptography and elsewhere. We will survey the state of the art on different flavors of this question that are motivated by different problems in secure computation and correspond to different notions of simplicity.

IOS Press eBooks•Jan 1, 2013•22 citations
This chapter discusses randomized algorithms, which produce correct output with high probability. The chapter covers some classic randomized algorithms, complexity classes, and useful tools from probability theory. It also introduces the topic of efficient derandomization (turning randomized algorithms into non-randomized ones) in the time- and space-bounded settings.
We give efficient deterministic algorithms for converting randomized query algorithms into deterministic ones. We first give an algorithm that takes as input a randomized qqq-query algorithm RRR with description length NNN and a parameter ε\varepsilonε, runs in time poly(N)⋅2O(q/ε)\mathrm{poly}(N) \cdot 2^{O(q/\varepsilon)}poly(N)⋅2O(q/ε), and returns a deterministic O(q/ε)O(q/\varepsilon)O(q/ε)-query algorithm DDD that ε\varepsilonε-approximates the acceptance probabilities of RRR. These parameters are near-optimal: runtime N+2Ω(q/ε)N + 2^{Ω(q/\varepsilon)}N+2Ω(q/ε) and query complexity Ω(q/ε)Ω(q/\varepsilon)Ω(q/ε) are necessary. Next, we give algorithms for instance-optimal and online versions of the problem: ∘\circ∘ Instance optimal: Construct a deterministic qR⋆q^\star_RqR⋆​-query algorithm DDD, where qR⋆q^\star_RqR⋆​ is minimum query complexity of any deterministic algorithm that ε\varepsilonε-approximates RRR. ∘\circ∘ Online: Deterministically approximate the acceptance probability of RRR for a specific input x‾\underline{x}x​ in time poly(N,q,1/ε)\mathrm{poly}(N,q,1/\varepsilon)poly(N,q,1/ε), without constructing DDD in its entirety. Applying the techniques we develop for these extensions, we constructivize classic results that relate the deterministic, randomized, and quantum query complexities of boolean functions (Nisan, STOC 1989; Beals et al., FOCS 1998). This has direct implications for the Turing machine model of computation: sublinear-time algorithms for total decision problems can be efficiently derandomized and dequantized with a subexponential-time preprocessing step.
The last few years have been characterized by a tremendous development of quantum information and probability and their applications, including quantum computing, quantum cryptography, and quantum random generators. In spite of the successful development of quantum technology, its foundational basis is still not concrete and contains a few sandy and shaky slices. Quantum random generators are one of the most promising outputs of the recent quantum information revolution. Therefore, it is very important to reconsider the foundational basis of this project, starting with the notion of irreducible quantum randomness. Quantum probabilities present a powerful tool to model uncertainty. Interpretations of quantum probability and foundational meaning of its basic tools, starting with the Born rule, are among the topics which will be covered by this issue. Recently, quantum probability has started to play an important role in a few areas of research outside quantum physics—in particular, quantum probabilistic treatment of problems of theory of decision making under uncertainty. Such studies are also among the topics of this issue.
This thesis presents developments in the theory and application of quantum learning.The first two chapters fall under the head of classical shadow tomography, a randomized measurement technique which estimates a large number of expectation values effectively in parallel. In the first chapter on this topic, we extend classical shadow state tomography to the characterization of quantum channels. We prove that with a simple protocol involving randomized measurement of randomly generated input states evolved through channel, one can estimate many channel properties in parallel, with rigorous guarantees on the sample complexity required. In the next chapter, we bring together finite-depth classical shadows, derandomization, and tensor network simulation to present an algorithm for tailoring a sequence of measurements to a set of observables of interest, demonstrating the effectiveness of our technique for a number of tasks in quantum chemistry and simulation. The second part of this thesis presents a step toward applying ideas from quantum learning to quantum error correction. We investigate the use of prior information on qubit error rates in the decoding task, showing that prior information can significantly change decoder performance when a small number of qubits have high error rates. We present a protocol to learn the location of error-prone sites from decoding data in real time, and then apply this in turn to develop in situ protocol for calibration of gates while processing logical information.
In the last two chapters, we talked about computational complexity up till the early 1970s. Here, we'll add a new ingredient to our already simmering stew – something that was thrown in around the mid-1970s, and that now pervades complexity to such an extent that it's hard to imagine doing anything without it. This new ingredient is randomness . Certainly, if you want to study quantum computing, then you first have to understand randomized computing. I mean, quantum amplitudes only become interesting when they exhibit some behavior that classical probabilities don't : contextuality, interference, entanglement (as opposed to correlation), etc. So we can't even begin to discuss quantum mechanics without first knowing what it is that we're comparing against. Alright, so what is randomness? Well, that’s a profound philosophical question, but I’m a simpleminded person. So, you’ve got some probability p , which is a real number in the unit interval [0, 1]. That’s randomness. But wasn’t it a big achievement when Kolmogorov put probability on an axiomatic basis in the 1930s? Yes, it was! But in this chapter, we’ll only care about probability distributions over finitely many events, so all the subtle questions of integrability, measurability, and so on won’t arise. In my view, probability theory is yet another example where mathematicians immediately go to infinite-dimensional spaces, in order to solve the problem of having a nontrivial problem to solve! And that’s fine – whatever floats your boat. I’m not criticizing that. But in theoretical computer science, we’ve already got our hands full with 2n choices. We need 2ℵ0 choices like we need a hole in the head.
Around 2002, Leonid Gurvits gave a striking randomized algorithm to approximate the permanent of an n×nn\times nn×n matrix A. The algorithm runs in O(n2/ε2)O( n^{2}/\varepsilon^{2})O(n2/ε2) time, and approximates Per⁡(A)\operatorname*{Per}( A)Per(A) to within ±ε∥A∥n\pm\varepsilon\left\Vert A\right\Vert ^{n}±ε∥A∥n additive error. A major advantage of Gurvits's algorithm is that it works for arbitrary matrices, not just for nonnegative matrices. \ This makes it highly relevant to quantum optics, where the permanents of bounded-norm complex matrices play a central role. (In particular, n×nn\times nn×n permanents arise as the transition amplitudes for nnn identical photons.) Indeed, the existence of Gurvits's algorithm is why, in their recent work on the \textit{hardness} of quantum optics, Aaronson and Arkhipov (AA) had to talk about sampling problems rather than ordinary decision problems. In this paper, we improve Gurvits's algorithm in two ways. First, using an idea from quantum optics, we generalize the algorithm so that it yields a better approximation when the matrix A has either repeated rows or repeated columns. Translating back to quantum optics, this lets us classically estimate the probability of any outcome of an AA-type experiment -- even an outcome involving multiple photons "bunched" in the same mode -- at least as well as that probability can be estimated by the experiment itself. It also yields a general upper bound on the probabilities of "bunched" outcomes, which resolves a conjecture of Gurvits and might be of independent physical interest. Second, we use ε\varepsilonε-biased sets to derandomize Gurvits's algorithm, in the special case where the matrix A is nonnegative. More interestingly, we generalize the notion of ε\varepsilonε-biased sets to the complex numbers, construct "complex ε\varepsilonε-biased sets", then use those sets to derandomize even our generalization of Gurvits's algorithm to the case (again for nonnegative A) where some rows or columns are identical. Whether Gurvits's algorithm can be derandomized for general A remains an outstanding problem.