Search⌘ K

Gamble with Quantum Computing

Explore how quantum computing leverages qubit superposition and probabilistic measurement outcomes. Understand the use of quantum gates, especially the Hadamard gate, to create equal or weighted chances and how rotation matrices manipulate qubit states for customized measurement probabilities.

We'll cover the following...

Are you into gambling? If yes, quantum computing is for you.

When we measure a qubit, what we observe depends on chance. Unless we measure it, the qubit is in a state of superposition of the states 0|0\rangle and 1|1\rangle. But once you measure it, it will be either 0 or 1. If we measure a hundred qubits in the same state, we don’t get the same result a hundred times. Instead, we’ll get a list of 0 values and 1 values. The proportion of 0 values and 1 values we get will correspond to the probability distribution the qubit state entails.

In the lesson Quantumic Math, we got to know the Hadamard gate. It allows us to put a qubit into superposition. For instance, if we start with a qubit in the state 0|0\rangle, applying the Hadamard gate results in a qubit in the state +|+\rangle.

+=0+12=120+121=[1212]|+\rangle=\frac{|0\rangle + |1\rangle}{\sqrt{2}}=\frac{1}{\sqrt{2}}|0\rangle + \frac{1}{\sqrt{2}}|1\rangle=\begin{bmatrix}\frac{1}{\sqrt{2}}\\\frac{1}{\sqrt{2}}\end{bmatrix}

The resulting probability amplitudes for both states 0|0\rangle ...