By orthonormality of the computational basis,
There is one nonzero term, the term with . In particular, the uniform coefficient is unchanged when passing from the ket to its bra because it is real.
Summing part (i) over the unmarked indices gives . The Grover diffusion operator therefore acts as
This is an identity for an unnormalized subset sum; it does not require replacing its norm by one.
For the marked subset, by the same summation of the individual inner products. Consequently
The cardinality is here. Its sign will reverse when this expression is used for the oracle's negative marked component.

Articles by others on the same topic (0)

There are currently no matching articles.