In this set of codercises, we will implement the phase kickback technique, introduced in the theory section on the right. We will the use it to calculate the eigenvalues of a unitary operator.
The phase kickback circuit is shown below:
We will implement this circuit to see if we can detect a phase of
You are given a unitary that is promised to be either the
Use qml.ControlledQubitUnitary
or qml.ctrl
to apply unitaries with control bits.
To interact with codercises, please switch to a larger screen size.
Learning Objectives: