Multiple Qubits and Entanglement
On 22-May-2021, I continued to study Multiple Qubits and Entanglement.
This article starts with explanation for representing Multi-Qubit states. We are storing complex amplitudes in a vector. If we have 'n' qubits, we need to track 2^n Complex Amplitudes. It is evident that these vectors grow exponentially as the number of qubits increases.
Here is a Qiskit code to demonstrate the 3 qubits and their state vectors
Let us see another example to represent single Qubit on Multi-Qubit statevector
In the next code, we will see what will happen when we apply H gate followed by CNOT gate. YES. We are going to see entangled state.
Bloch sphere representation of the above state is shown below
No comments:
Post a Comment