Exercise6.1 - The conditional phase shift of the Grover iteration equals
The Grover phase shift in terms of a projector.
Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its
declaration both in Lean and in words.
The Exercise
The Grover iteration contains a conditional phase shift. On a system whose state space has the computational basis , it leaves as it is and changes the sign of every other basis state.✦ The exercise is to write this operator through the projector onto and the identity .
The Phase Shift
The library states the exercise on , the space of column vectors with complex entries indexed , for an arbitrary .The standard basis vector of , for a dimension and an index among , is the vector with components (1)✦ The vectors are the computational basis states of . The projector onto is the operator on , the outer product of with its conjugate transpose .
The phase shift on is the diagonal matrix (2)✦
The Claim
Theorem 1. Let , and let be the phase shift(2) on . Then (3)✦ where is the identity on .
What Is Checked
The claim is stated over the phase shift of (2) and the projector formed from the standard basis vector of (1). What the library proves about them is the matrix identity (3).