English

Monte Carlo to Las Vegas for Recursively Composed Functions

Computational Complexity 2026-01-14 v1 Quantum Physics

Abstract

For a (possibly partial) Boolean function f ⁣:{0,1}n{0,1}f\colon\{0,1\}^n\to\{0,1\} as well as a query complexity measure MM which maps Boolean functions to real numbers, define the composition limit of MM on ff by M(f)=limkM(fk)1/kM^*(f)=\lim_{k\to\infty} M(f^k)^{1/k}. We study the composition limits of general measures in query complexity. We show this limit converges under reasonable assumptions about the measure. We then give a surprising result regarding the composition limit of randomized query complexity: we show R0(f)=max{R(f),C(f)}R_0^*(f)=\max\{R^*(f),C^*(f)\}. Among other things, this implies that any bounded-error randomized algorithm for recursive 3-majority can be turned into a zero-error randomized algorithm for the same task. Our result extends also to quantum algorithms: on recursively composed functions, a bounded-error quantum algorithm can be converted into a quantum algorithm that finds a certificate with high probability. Along the way, we prove various combinatorial properties of measures and composition limits.

Keywords

Cite

@article{arxiv.2601.08073,
  title  = {Monte Carlo to Las Vegas for Recursively Composed Functions},
  author = {Bandar Al-Dhalaan and Shalev Ben-David},
  journal= {arXiv preprint arXiv:2601.08073},
  year   = {2026}
}

Comments

25 pages