# GHZ states¶

Perhaps even stranger than Bell states are their three-qubit generalization, the GHZ states. An example of one of these states is . The measured results should be half and half . GHZ states are named after Greenberger, Horne, and Zeilinger, who were the first to study them in 1997. GHZ states are also known as “Schroedinger cat states” or just “cat states.”

In the 1990 paper by N. David Mermin, What’s wrong with these elements of reality?, the GHZ states demonstrate an even stronger violation of local reality than Bell’s inequality. Instead of a probabilistic violation of an inequality, the GHZ states lead to a deterministic violation of an equality. Imagine you have three independent systems which we denote by a blue, red, and green box. You are asked to solve the following problem: in each box there are two questions, labeled and , that have only two possible outcomes, or . You must come up with a solution to the following set of identities.

. . . .

Try it!

After a while you will realize this is not possible. The simple way to show this is the following: if we multiply the first three equations together, we can simplify squared quantities and obtain , which contradicts the fourth identity.

Amazingly enough, a GHZ state can provide a solution to this problem. Then we have to accept what quantum mechanics teaches us: there are not local hidden elements of reality associated with each qubit which predetermine the outcomes of measurements in the and bases. So, as Mermin pointed out, the GHZ test described above contradicts the possibility of physics being described by local reality! As opposed to the Bell test, which provides only a statistical evidence for the contradiction, the GHZ test can rule out the local reality description with certainty after a single run of the experiment (not including the effects of noise and imperfections in our system). To make this state we use the following circuit, which is slightly different to the standard way of creating a GHZ (in our hardware the CNOT gates are constrained in their orientation). In the first part of the circuit, the ground state is taken to a superposition . The two CNOTs now entangle all the qubits into the state . The final three Hadamard gates map this to the GHZ state . To make the measurements in the and basis we again rotate the measurement using the circuits you have seen before. For example, consider the measurement. Note that flipping all three qubits of the GHZ state gives the same state with the minus sign. In other words, the GHZ state is a eigenvector of a three-qubit Pauli operator . This implies

for each realization of the experiment. Next consider the Pauli operator . One can check that the GHZ state is a eigenvector of . Therefore,

for each realization of the experiment. Likewise,, and .

One can verify this by running the experiments using the circuits provided below.

Here you can see the results we got when we ran this experiment on the processor: ## Example circuits¶

The first circuit shown below creates a GHZ state and then measures all qubits in the standard basis. The measured results should be half and half . The remaining four circuits describe the GHZ test. Each circuit prepares the GHZ state and then measures the three qubits by choosing the measurement bases according to , , , and respectively.

3Q GHZ State Open in composer

3Q GHZ State YYX-Measurement Open in composer

3Q GHZ State YXY-Measurement Open in composer

3Q GHZ State XYY-Measurement Open in composer

3Q GHZ State XXX-Measurement Open in composer