Skip to main content
. 2019 Aug 15;21(8):800. doi: 10.3390/e21080800
Algorithm 6: Simon [15,16]
  Proceed with the following steps.
  1. Prepare two n-qubit registers in the state 0.

  2. Apply the Walsh-Hadamard transform to the query register.

  3. Apply the oracle.

  4. Apply the Walsh-Hadamard transform to the query register.

  5. Measure the query register to retrieve a bit-vector p.

  Return p.