Quantum algorithm for secret learning in Mastermind game
摘要
This work investigates quantum speedups for the popular game named Mastermind, in which there are two participants: the codemaker who selects a secret string, and the codebreaker who submits query strings and receives answers from the codemaker. The codebreaker’s objective is to learn the secret string in as few queries as possible. This work focuses on playing the Mastermind game on quantum computers using different types of codemaker’s answers such as black count, ℓp distance, and separable distance. We show that the codebreaker can learn the secret with certainty by using quantum algorithms which exhibit a sharp reduction in query numbers compared with their classical counterparts. Specifically, our quantum algorithms require