# From “Hello World” to “Hello Quantum”

We’ll be using the Qiskit toolkit to write our Python code, which we can run on either a simulator or even on a real Quantum Computer within an IBM lab!In the above code, you must have wondered what the Hadamard and the C-Not gates were, and what they do?The Hadamard gate is simply a gate which when applied to a qubit, puts it in a superposition state.

The C-Not gate, takes two parameters — the first is called the control bit, and the second is the target bit.

What it does is it reads the value of the control bit, and if it is |0⟩, then the gate leaves the target bit untouched, whereas if the control bit’s value is |1⟩, then the C-Not gate will flip the target bit.

This way, our entanglement circuit is basically comprised of a qubit in superposition state, whose value is a combination of |0⟩ and |1⟩, and this qubit is used as the control bit of the C-Not gate, with the target qubit being another available qubit.

Since theres a 50–50 chance of our qubit having a value |0⟩ or |1⟩, thus there’s a 50–50 chance of whether the target qubit gets flipped.

This procedure is what ‘entangles’ our two qubits so that they will always read the same value when measured, no matter how physically close together or far apart they are located.

ConclusionSo that was your introduction to the world of quantum weirdness, and we hope it intrigued you just as much as it fascinated us!.If you have anything you’d like to ask us, or have any feedback regarding something we need to work on to improve our posts, feel free to reach out to us at artofquantum@gmail.

com, or find us on twitter as @ArtOfQuantum!This sums up our first post on Quantum Entanglement.

We really hope you enjoyed it and come back for more tutorials like these coming up soon!.. More details