Skip to main content
. 2024 Feb 10;14:3435. doi: 10.1038/s41598-024-53720-x

Figure 4.

Figure 4

(Left) Quantum circuit computing the match between two 16 elements long input sequence of 6-bit values A and B, encoded on qubits ai and bi, respectively. The QBArt unitary prepares the initial state. The 6 CX gates compute the XOR between bits of sequences element. The following 5 nested Toffoli gates set the output qubit m0 to state 1 if both 6-bit input pairs match. The intermediate XOR output result is also measured on qubits pi. (Right) Results obtained by the DNA sequence matching executed on Quantinuum H1-1 QPU. The algorithm correctly detects the differences between the 6 codons in positions 5 to 10, marked in red. (a) 6-bit XOR(A,B) output sequence and (b) measured match-bit, both follow the ground-truth.