Files
Quantum-Computation-course-…/archives/exercises_2022/Exercise9.ipynb
T
2026-08-22 13:40:45 +02:00

1.4 KiB

Exercise 9

1. Grover's algorithm for two qubits

(a) Implement an oracle and diffusion operator to search all strings of two bits to find 01.

(b) Run the algorithm, and determine how many iterations are required to output 01 with high probability.

2. Grover's algorithm for three qubits

(a) Implement an oracle and diffusion operator to search all strings of three bits to find 100.

(b) Run the algorithm, and determine how many iterations are required to output 100 with high probability.

In [ ]: