Quantum algorithm for learning secret strings and its experimental demonstration
Abstract
In this paper, we consider the secret-string-learning problem in the teacher-student setting: the teacher has a secret string , and the student wants to learn the secret by question-answer interactions with the teacher, where at each time, the student can ask the teacher with a pair and the teacher returns a bit given by the oracle that indicates whether the length of the longest common prefix of and is greater than or not. Our contributions are as follows. (i) We prove that any classical deterministic algorithm needs at least queries to the oracle to learn the -bit secret string in both the worst case and the average case, and also present an optimal classical deterministic algorithm learning any using queries. (ii) We obtain a quantum algorithm learning the -bit secret string with certainty using queries to the oracle , thus proving a double speedup over classical counterparts. (iii) Experimental demonstrations of our quantum algorithm on the IBM cloud quantum computer are presented, with average success probabilities of and for all cases with and , respectively.
Cite
@article{arxiv.2206.11221,
title = {Quantum algorithm for learning secret strings and its experimental demonstration},
author = {Yongzhen Xu and Shihao Zhang and Lvzhou Li},
journal= {arXiv preprint arXiv:2206.11221},
year = {2023}
}