
Dancing with Python
By :

I now stop talking about “data values” and call them what they are for Grover search: amplitudes. In this section, we work with three qubits and begin by placing them in a balanced superposition:
These are the same quantum states we saw with the light bulbs in section 11.2. The qubits being in balanced superposition translates to the light bulbs all being in the half-dimmed state.
I cover amplitude amplification in section 9.6 of Dancing with Qubits. [DWQ]
When I apply the oracle for |000⟩, the amplitude for that ket becomes negative:
Figure 11.8 shows these two sets of amplitudes. The mean on the left-hand side is 1/√8, which is approximately 0.354.
If we measure the quantum states...