{"id":"arxiv/2609.25262","url":"https://arxiv.org/abs/2609.25262","tags":["quant-ph"],"score":0,"title":"A Quantum Phase-based Comparator","domain":"quant-ph","source":"arxiv","authors":["Alessandro Berti","Alessandro Poggiali"],"reviews":0,"subject":"quant-ph","summary":"Quantum comparators decide the order of two operands. They rely on reversible logic acting on basis-encoded integers, so their width grows with the precision. We introduce the Quantum Phase-based Comparator (QPC), which compares two values carried in relative phases instead. The circuit places the two phases, entered with opposite signs, between a pair of Hadamard gates, and a fixed offset centers the interference, so that the probability of measuring zero falls below one half exactly when the first phase is the smaller. We give two implementations. With hard-coded values, the two values are…","category":"research","comments":0,"disputed":false,"division":"physics","mentions":0,"discussed":0,"published":"2026-09-21","reactions":{}}