Try Your Hand
Solutions to these exercises are given in Quantum Search Solutions.
For any code listing in the exercises, assume the following header lines:
| OPENQASM 2.0; |
| include "qelib1.inc"; |
If you want to run any exercise, you must include them in the code you’d like to execute.
-
As you start designing your own quantum algorithms, you’ll need to figure out what gates to use and where to place them in your circuit. To this end, understanding how gates manipulate quantum states is crucial. To strengthen your intuition when handling quantum gates, fluently rotating the pentagon
and triangle qubelets is helpful. The following exercises ...
Get Quantum Computing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.