Single Qubit Programs Solutions

Quantum Gates as Matrices Solutions

Solutions for the exercises in Try Your Hand.

    1. The amplitude images/_pragprog/svg-584.png. Thus, the probability of the qubit collapsing to 0 is images/_pragprog/svg-585.png.

      The amplitude images/_pragprog/svg-586.png. So the probability of the qubit collapsing to 1 is images/_pragprog/svg-587.png

      The sum of these probabilities is . Since the sum is less than 1, the vector doesn’t represent ...

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.