Try Your Hand

Solutions to these exercises are given in Where to Go from Here Solutions.

  1. Consider the images/_pragprog/svg-451.png block used in Deutsch’s circuit shown in the following circuit:

    images/summary/Deutsch_Function_F.png

    Suppose the function images/_pragprog/svg-475.png is constant that always returns a images/_pragprog/svg-18.png.

    1. Write the truth table for .

    2. Draw Deutsch’s circuit with gates that represent .

    3. Write a Qiskit program to simulate ...

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.