Skip to main content
. 2019 Aug 15;21(8):800. doi: 10.3390/e21080800
Algorithm 4: Repeat the following steps O2nn times
  1. Prepare an n-QSL-bit query register in the (0,r) state, and an answer register containing one QSL-bit in the (1,ry) state.

  2. Apply a Walsh-Hadamard transform on the query register

  3. Apply the oracle

  4. Apply a Walsh-Hadamard transform on the query register

  5. Apply X×n to the query register.

  6. Apply an n-controlled Z to the query register.

  7. Apply X×n to the query register.

  8. Apply a Walsh-Hadamard transform on the query register

  9. Measure the query register to obtain a candidate y for x*.

  Check the output candidates for x* using the oracle, and return the candidate that outputs 1, if any.