Bell, GHZ, and so on

The famous Bell state is the simplest example of quantum entanglement, where two qubits are intertwined until decoherence separates them. If one is measured as zero, so is the other, if one is measured as 1, so is the other. However, we do not know which of the states will be measured.

The circuit to create the Bell state (|00> + |11>)/sqr(2) is shown below. It uses only a Hadamard and a controlled X.

The GHZ state is similar, for three qubits: (|000> + |111>)/sqr(2). In terms of circuit, it has one more qubit, and one more CX.

(See )

And to do the same thing but with 4 qubits? We want to arrive at (|0000> + |1111>)/sqr(2) — that is, if one of the qubits is drawn as zero, all the others will also be drawn.

By the pattern above, just add one more CX between the last previous qubit and the new qubit.

Then, to generalize, just add a loop.

The notebook can be found at .

Arnaldo Gunzi notes on Quantum Computing and Information

Recommended from Medium

Our Long Lost Cousins

20,000 Feet Under the Sea

Dealing With Pharaoh Ants and Bait That Works

This is an image showing a Pharaoh ant up close.

“Dark Matter” Science-Research, November 2021, Week 2 — summary from CERN (European Council for…

Read Book [PDF] Guide to the Manta and Devil Rays of the World (Wild Nature Press) Full Books

“Plant Cell” Science-Research, December 2021 — summary from Wiley Online Library, DOAJ and Europe…

“Type 2 Diabetes” Science-Research, October 2021, Week 4 — summary from MedlinePlus Genetics, NCBI…

Quantum Dots Light Up The Brain

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arnaldo Gunzi

Arnaldo Gunzi

Project Manager on Analytics and Innovation. “Samurai of Analytics”. Passionate about Combinatorial Optimization, Philosophy and Quantum Computing.

More from Medium

What Is a Near-perfect Qubit?

How Quantum Computers can change the world?

Q-Intro: Amplitude Amplifier