Challenge #6

Suppose you have a quantum bit (qubit) in the state |0>, and apply the following gates:

H (Hadamard gate)

Next, you perform a measurement along the Z axis, which results in a classical bit value. What is the probability that the output of this measurement is 1, in percent? Round up to the nearest whole percent.

Image based on:

(Hint: you can implement and run the algorithm for example using Microsoft's Q# language:

Puzzle made by:

Erik Lydersen
Lead Consultant 

Erik is a .NET developer and consultant in Visma Consulting. He has a background in physics from NTNU in Trondheim, Norway.