August 2020
Intermediate to advanced
582 pages
17h 59m
English
Solutions for the exercises in Try Your Hand.
The code for the quantum circuit is:
| | qreg q[5]; |
| | creg c[5]; |
| | |
| | measure q[0] -> c[0]; |
| | measure q[2] -> c[2]; |
The concatenated string of measured states is 00000.
Output on a simulator will look like this:

The output on a simulator is exact: only the 00000 state is seen.
Output on a real quantum computer will look something like the output shown.

We see that the 00000 state is observed most often. But other states ...
Read now
Unlock full access