English

Playing Mastermind on quantum computers

Quantum Physics 2023-02-14 v4

Abstract

From the 1970s up to now, Mastermind, a classic two-player game, has attracted plenty of attention, not only from the public as a popular game, but also from the academic community as a scientific issue. Mastermind with n positions and k colors is formally described as: the codemaker privately chooses a secret s[k]ns\in [k]^n, and the coderbreaker want to determine ss in as few queries like fs(x)f_s(x) as possible to the codemaker, where fs(x)f_s(x) indicates how x is close to s. The complexity of a strategy is measured by the number of queries used. In this work we study playing Mastermind on quantum computers in both non-adaptive and adaptive settings, obtaining efficient quantum algorithms which are all exact (i.e., return the correct result with certainty) and show huge quantum speedups. Technically, we develop a three-step framework for designing quantum algorithms for the general string learning problem, which not only allows huge quantum speedups on playing Mastermind, but also may shed light on exploring quantum speedups for other string learning problems.

Keywords

Cite

@article{arxiv.2207.09356,
  title  = {Playing Mastermind on quantum computers},
  author = {Lvzhou Li and Jingquan Luo and Yongzhen Xu},
  journal= {arXiv preprint arXiv:2207.09356},
  year   = {2023}
}

Comments

Some bugs are fixed, and tight quantum complexity lower bounds are still left as an open problem