Now that you've learned all about single-qubit gates, you have the tools to
perform arbitrary quantum state preparation of a single qubit!
State preparation takes place at the start of many algorithms. Given a target state
we would like the qubit to be in, we need to figure out the sequence
of operations that, acting on
For this codercise, you will be asked to write a circuit that prepares the quantum state
up to a global phase using as few gates as possible.
First look at the amplitudes of the target state, ignoring the complex
phase. What operation sends
To interact with codercises, please switch to a larger screen size.
Learning Objectives: