TransWikia.com

How to read a Q sphere representation?

Quantum Computing Asked on June 24, 2021

I’m trying to understand the Q-sphere representation of a 3-qubit system. I get that the 3-qubits are in a superposition of 2 different states. The first qubit (rightmost) is in a superposition of 0 and 1 with a phase difference of pi. And the other two qubits are in ground states. I hope I got this right till here.

What does the location of the point on the 1st ring represent? In the documentation, it’s mentioned that the latitude is the Hamming distance from zero state. What does that indicate?

Q-sphere 2 qubits

One Answer

We first need to understand what do we mean by Hamming Distance, simply put, for two strings of equal length, it is the number of different symbols in corresponding locations. For example: since we're exclusively dealing with binary strings, let's say we are calculating Hamming distance between 001 and 000. Since only the right-most values differ, we get a hamming distance of $1$.

Another example: 101 and 010 has a hamming distance of $3$ since they are different at each position. Hamming distances are widely used in Coding Theory for Error detection and can also be used in Machine Learning as an alternative measure to Euclidean distance. In both the applications it is used to objectively calculate how separate two values are, more the hamming distance more dissimilar they are considered to be.

Here, hamming distance has the same purpose, to calculate how dissimilar the states are. As you move farther away from $|000rangle$ (going towards $|111rangle$) the bigger will be the difference between the states and hence the bigger will be the Hamming distance. Going with the same logic, $|000rangle$ and $|111rangle$ have a hamming distance of 3 hence signifying that they are very different (or better said, completely opposite since hamming distance = string length).

Answered by Übermensch on June 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP